Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002081/0.002081, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.718/2.718, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.73e-05/2.884e-05, allocations: 3.688 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005709/0.005737, allocations: 3.077 MB / 0.7894 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003684/0.009421, allocations: 1.669 MB / 0.791 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.009609, allocations: 7.938 kB / 0.791 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.01078, allocations: 332.2 kB / 0.7913 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006412/0.01142, allocations: 221 kB / 0.7915 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005791/0.012, allocations: 181 kB / 0.7917 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005404/0.01254, allocations: 326.8 kB / 0.792 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004204/0.01296, allocations: 176.9 kB / 0.7922 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004014/0.01336, allocations: 189.2 kB / 0.7924 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003936/0.01376, allocations: 155.6 kB / 0.7925 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.13e-05/0.01381, allocations: 20 kB / 0.7925 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004691/0.01428, allocations: 230.8 kB / 0.7928 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.01443, allocations: 107.7 kB / 0.7929 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.01459, allocations: 83.83 kB / 0.7929 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007515/0.01534, allocations: 442.7 kB / 0.7934 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.01534, allocations: 0 / 0.7934 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.51e-07/0.01534, allocations: 0 / 0.7934 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.188e-06/0.01535, allocations: 0 / 0.7934 GB, free: 5.648 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001208/0.01656, allocations: 490 kB / 0.7938 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.0166, allocations: 8.031 kB / 0.7938 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008675/0.01747, allocations: 141.1 kB / 0.794 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000412/0.01788, allocations: 204.8 kB / 0.7942 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.01791, allocations: 20.86 kB / 0.7942 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.01802, allocations: 24.52 kB / 0.7942 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007501/0.01877, allocations: 433.5 kB / 0.7946 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.01878, allocations: 192 / 0.7946 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/0.01882, allocations: 17.25 kB / 0.7946 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001179/0.01894, allocations: 28.47 kB / 0.7947 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005632/0.0195, allocations: 309.8 kB / 0.795 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.02137, allocations: 1.038 MB / 0.796 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/0.02186, allocations: 210.4 kB / 0.7962 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.02205, allocations: 105.5 kB / 0.7963 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.02216, allocations: 9.188 kB / 0.7963 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.0222, allocations: 34.56 kB / 0.7963 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.0222, allocations: 0 / 0.7963 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.001774/0.02398, allocations: 0.7331 MB / 0.797 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.02403, allocations: 55.41 kB / 0.7971 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.02426, allocations: 186.2 kB / 0.7973 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.02429, allocations: 33.64 kB / 0.7973 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.02444, allocations: 164.5 kB / 0.7975 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8e-05/0.02452, allocations: 71.39 kB / 0.7975 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.02463, allocations: 56.47 kB / 0.7976 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.02481, allocations: 330.8 kB / 0.7979 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.02501, allocations: 107.9 kB / 0.798 GB, free: 0.6836 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.02527, allocations: 174.7 kB / 0.7982 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000474/0.02574, allocations: 290.8 kB / 0.7984 GB, free: 196 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.02574, allocations: 0 / 0.7984 GB, free: 196 kB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009038/0.02665, allocations: 428.5 kB / 0.7988 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.02666, allocations: 8 kB / 0.7989 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.02667, allocations: 4.625 kB / 0.7989 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007909/0.02747, allocations: 137.3 kB / 0.799 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.02773, allocations: 52.73 kB / 0.799 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002371/0.0301, allocations: 1.75 MB / 0.8007 GB, free: 13.72 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.03033, allocations: 15.98 kB / 0.8008 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.03036, allocations: 12 kB / 0.8008 GB, free: 13.69 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001864/0.03055, allocations: 157.8 kB / 0.8009 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.821e-05/0.03061, allocations: 23.84 kB / 0.8009 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005644/0.03118, allocations: 300.4 kB / 0.8012 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.03118, allocations: 1.031 kB / 0.8012 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.03118, allocations: 0 / 0.8012 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.03119, allocations: 5.109 kB / 0.8012 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.0322, allocations: 0.6049 MB / 0.8018 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.0322, allocations: 1.125 kB / 0.8018 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.03253, allocations: 59.89 kB / 0.8019 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.03253, allocations: 0 / 0.8019 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.03256, allocations: 9.062 kB / 0.8019 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/0.03257, allocations: 7.969 kB / 0.8019 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.03257, allocations: 0 / 0.8019 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007785/0.03334, allocations: 0.5251 MB / 0.8024 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.03345, allocations: 41.39 kB / 0.8025 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.03348, allocations: 8 kB / 0.8025 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.03367, allocations: 11.98 kB / 0.8025 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.03371, allocations: 11.98 kB / 0.8025 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.03372, allocations: 8.859 kB / 0.8025 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001578/0.03388, allocations: 141.4 kB / 0.8026 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.03388, allocations: 1.094 kB / 0.8026 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004008/0.03428, allocations: 68 kB / 0.8027 GB, free: 11.65 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002019/0.03448, allocations: 111.8 kB / 0.8028 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008304/0.03531, allocations: 412.3 kB / 0.8032 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.03532, allocations: 0 / 0.8032 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.03551, allocations: 111.9 kB / 0.8033 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.0359, allocations: 37.42 kB / 0.8033 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.03752, allocations: 0.581 MB / 0.8039 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.03773, allocations: 161.2 kB / 0.8041 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001745/0.03791, allocations: 57.89 kB / 0.8041 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.855e-05/0.03799, allocations: 20.5 kB / 0.8041 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of SimCode: time 5.51e-07/0.03799, allocations: 0 / 0.8041 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of Templates: time 0.00756/0.04555, allocations: 2.801 MB / 0.8069 GB, free: 7.359 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.759519110899419]