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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 108 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.791/2.791, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 63.89 kB / 1.104 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7691/0.7713, allocations: 168.7 MB / 1.269 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005667/0.777, allocations: 3.136 MB / 1.272 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003167/0.7802, allocations: 1.741 MB / 1.273 GB, free: 316 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.7803, allocations: 8 kB / 1.273 GB, free: 308 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.7815, allocations: 338.7 kB / 1.274 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005964/0.7821, allocations: 207.1 kB / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005496/0.7826, allocations: 187.5 kB / 1.274 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004845/0.7831, allocations: 323 kB / 1.275 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003859/0.7835, allocations: 178.6 kB / 1.275 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.7838, allocations: 139.6 kB / 1.275 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003846/0.7841, allocations: 171.4 kB / 1.275 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.286e-05/0.7842, allocations: 20 kB / 1.275 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004678/0.7847, allocations: 255.5 kB / 1.275 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.7848, allocations: 107.7 kB / 1.275 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.785, allocations: 123.4 kB / 1.275 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006456/0.7856, allocations: 426.5 kB / 1.276 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.7856, allocations: 0 / 1.276 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7856, allocations: 0 / 1.276 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.7856, allocations: 0 / 1.276 GB, free: 13.87 MB / 0.9825 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.001086/0.7867, allocations: 0.5609 MB / 1.276 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.7867, allocations: 12.03 kB / 1.276 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.097e-05/0.7868, allocations: 54.73 kB / 1.276 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007703/0.7876, allocations: 92.69 kB / 1.277 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/0.788, allocations: 266 kB / 1.277 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.788, allocations: 12.81 kB / 1.277 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.7882, allocations: 24.56 kB / 1.277 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006325/0.7888, allocations: 388.9 kB / 1.277 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.7888, allocations: 0 / 1.277 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.7888, allocations: 7.984 kB / 1.277 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.7889, allocations: 28.42 kB / 1.277 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005411/0.7895, allocations: 309.5 kB / 1.278 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.7917, allocations: 1.529 MB / 1.279 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000486/0.7922, allocations: 206.5 kB / 1.279 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.7923, allocations: 109.1 kB / 1.279 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001507/0.7925, allocations: 85.09 kB / 1.279 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.7925, allocations: 38.47 kB / 1.279 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.7925, allocations: 0 / 1.279 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.001403/0.7939, allocations: 0.8007 MB / 1.28 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.794, allocations: 59.41 kB / 1.28 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.7942, allocations: 187.2 kB / 1.28 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.7942, allocations: 33.7 kB / 1.281 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.7943, allocations: 172.1 kB / 1.281 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.017e-05/0.7944, allocations: 67.38 kB / 1.281 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.7945, allocations: 53.69 kB / 1.281 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.7947, allocations: 330.8 kB / 1.281 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.7949, allocations: 119.9 kB / 1.281 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.7951, allocations: 165.9 kB / 1.281 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/0.7956, allocations: 305.9 kB / 1.282 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7956, allocations: 0 / 1.282 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000842/0.7964, allocations: 417.9 kB / 1.282 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.7964, allocations: 4 kB / 1.282 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.7964, allocations: 8.188 kB / 1.282 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004242/0.7968, allocations: 92.77 kB / 1.282 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.7971, allocations: 51.89 kB / 1.282 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/0.7993, allocations: 1.883 MB / 1.284 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.7996, allocations: 19.92 kB / 1.284 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.7996, allocations: 8 kB / 1.284 GB, free: 4.848 MB / 0.9825 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.0001823/0.7998, allocations: 156.6 kB / 1.284 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/0.7998, allocations: 19.91 kB / 1.284 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005441/0.8004, allocations: 301.2 kB / 1.285 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.8004, allocations: 0 / 1.285 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.8004, allocations: 0 / 1.285 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.8004, allocations: 3.938 kB / 1.285 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.8015, allocations: 0.709 MB / 1.285 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.8015, allocations: 0 / 1.285 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/0.8018, allocations: 63.95 kB / 1.285 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.8018, allocations: 7.938 kB / 1.285 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.8019, allocations: 7.984 kB / 1.285 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.8019, allocations: 0 / 1.285 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8019, allocations: 0 / 1.285 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007091/0.8026, allocations: 0.5125 MB / 1.286 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.8027, allocations: 121 kB / 1.286 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.8028, allocations: 8 kB / 1.286 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.803, allocations: 11.98 kB / 1.286 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.803, allocations: 15.98 kB / 1.286 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.803, allocations: 4 kB / 1.286 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001515/0.8032, allocations: 144.6 kB / 1.286 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8032, allocations: 4 kB / 1.286 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004024/0.8036, allocations: 64 kB / 1.286 GB, free: 2.594 MB / 0.9825 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.001099/0.8047, allocations: 1.064 MB / 1.287 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008138/0.8055, allocations: 407.8 kB / 1.288 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8055, allocations: 0 / 1.288 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.8057, allocations: 115.8 kB / 1.288 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.8061, allocations: 40.12 kB / 1.288 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00447/0.8105, allocations: 2.902 MB / 1.291 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/0.811, allocations: 0.7675 MB / 1.291 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002121/0.8112, allocations: 61.89 kB / 1.291 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.8114, allocations: 75.41 kB / 1.291 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/0.8114, allocations: 0 / 1.291 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03354/0.8449, allocations: 5.14 MB / 1.296 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.94, allocations: 4.594 kB / 1.296 GB, free: 8.016 MB / 0.9981 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 16.976077157072723]