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.002577/0.002577, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002962/0.002962, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.573/1.573, allocations: 177.1 MB / 203.9 MB, free: 5.598 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.813/2.813, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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 3.019e-05/3.172e-05, allocations: 6.406 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005599/0.005631, allocations: 3.15 MB / 0.7894 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003425/0.009056, allocations: 1.746 MB / 0.7912 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.009192, allocations: 5.656 kB / 0.7912 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.01037, allocations: 336.2 kB / 0.7915 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006014/0.01098, allocations: 226.8 kB / 0.7917 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005062/0.01148, allocations: 182.8 kB / 0.7919 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007338/0.01222, allocations: 322.9 kB / 0.7922 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000387/0.0126, allocations: 172.9 kB / 0.7923 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003514/0.01295, allocations: 195.5 kB / 0.7925 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003485/0.0133, allocations: 152.2 kB / 0.7927 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.63e-05/0.01335, allocations: 24 kB / 0.7927 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004279/0.01378, allocations: 228 kB / 0.7929 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.01393, allocations: 108.3 kB / 0.793 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.01406, allocations: 83.81 kB / 0.7931 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006706/0.01473, allocations: 451.7 kB / 0.7935 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.01473, allocations: 0 / 0.7935 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.714e-06/0.01473, allocations: 0 / 0.7935 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.01474, allocations: 0.8438 kB / 0.7935 GB, free: 5.488 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.001083/0.01582, allocations: 0.5898 MB / 0.7941 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.01586, allocations: 9.219 kB / 0.7941 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008102/0.01667, allocations: 136.6 kB / 0.7942 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.01705, allocations: 197 kB / 0.7944 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.01708, allocations: 26 kB / 0.7945 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.01719, allocations: 28.5 kB / 0.7945 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005673/0.01775, allocations: 319.2 kB / 0.7948 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.01777, allocations: 1.719 kB / 0.7948 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.01781, allocations: 20.11 kB / 0.7948 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/0.01792, allocations: 40.34 kB / 0.7948 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.01829, allocations: 157.8 kB / 0.795 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001957/0.02024, allocations: 1.231 MB / 0.7962 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004002/0.02064, allocations: 143.6 kB / 0.7963 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.02076, allocations: 53.62 kB / 0.7964 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.02086, allocations: 8.312 kB / 0.7964 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.0209, allocations: 41.39 kB / 0.7964 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.072e-06/0.0209, allocations: 0 / 0.7964 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.001102/0.022, allocations: 481.6 kB / 0.7969 GB, free: 1.832 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.02205, allocations: 56.12 kB / 0.7969 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.02232, allocations: 257.8 kB / 0.7972 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.02236, allocations: 30.92 kB / 0.7972 GB, free: 1.461 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.02252, allocations: 223.2 kB / 0.7974 GB, free: 1.238 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.594e-05/0.0226, allocations: 71.42 kB / 0.7975 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.02272, allocations: 67.88 kB / 0.7976 GB, free: 1.094 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002897/0.02301, allocations: 0.504 MB / 0.7981 GB, free: 0.5781 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.02314, allocations: 53.09 kB / 0.7981 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.02335, allocations: 141.7 kB / 0.7982 GB, free: 368 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003543/0.0237, allocations: 215.5 kB / 0.7985 GB, free: 128 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.0237, allocations: 2.219 kB / 0.7985 GB, free: 128 kB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007107/0.02441, allocations: 299.6 kB / 0.7987 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.02443, allocations: 4 kB / 0.7987 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.02444, allocations: 3.938 kB / 0.7987 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000722/0.02516, allocations: 114.7 kB / 0.7989 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000508/0.02567, allocations: 52.95 kB / 0.7989 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.02791, allocations: 1.97 MB / 0.8008 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.02811, allocations: 15.98 kB / 0.8008 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.02814, allocations: 13.09 kB / 0.8009 GB, free: 13.54 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.0001808/0.02832, allocations: 169.2 kB / 0.801 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.651e-05/0.02839, allocations: 27.84 kB / 0.801 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004469/0.02884, allocations: 202.5 kB / 0.8012 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.02884, allocations: 0 / 0.8012 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.02884, allocations: 0 / 0.8012 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.02884, allocations: 0 / 0.8012 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009309/0.02977, allocations: 0.5614 MB / 0.8018 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.02977, allocations: 0 / 0.8018 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003137/0.03009, allocations: 59.89 kB / 0.8018 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.03009, allocations: 0 / 0.8018 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.03011, allocations: 8 kB / 0.8019 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.03012, allocations: 3.984 kB / 0.8019 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.03012, allocations: 4.906 kB / 0.8019 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005673/0.03069, allocations: 396 kB / 0.8022 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.0308, allocations: 39.88 kB / 0.8023 GB, free: 12 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.03083, allocations: 0 / 0.8023 GB, free: 12 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.03101, allocations: 17.11 kB / 0.8023 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.03106, allocations: 15.88 kB / 0.8023 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.03108, allocations: 11.94 kB / 0.8023 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001779/0.03126, allocations: 185.7 kB / 0.8025 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.03126, allocations: 4 kB / 0.8025 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003705/0.03163, allocations: 67.94 kB / 0.8026 GB, free: 11.7 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.000177/0.0318, allocations: 107.1 kB / 0.8027 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00076/0.03256, allocations: 381.5 kB / 0.803 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.03257, allocations: 4.125 kB / 0.803 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.03271, allocations: 75.53 kB / 0.8031 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.03309, allocations: 44.53 kB / 0.8032 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.03428, allocations: 0.5292 MB / 0.8037 GB, free: 10.51 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.03447, allocations: 161.2 kB / 0.8038 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001505/0.03462, allocations: 49.89 kB / 0.8039 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.907e-05/0.03469, allocations: 20.5 kB / 0.8039 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of SimCode: time 5.01e-07/0.03469, allocations: 0 / 0.8039 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of Templates: time 0.007658/0.04235, allocations: 2.821 MB / 0.8066 GB, free: 7.48 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] 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: 8.376480362960137]