Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001353/0.001353, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 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.001593/0.001593, allocations: 220.9 kB / 22.25 MB, free: 5.105 MB / 14.72 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.155/3.155, allocations: 0.49 GB / 0.7951 GB, free: 35.35 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 67.52 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3262, allocations: 176.1 MB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005269/0.3315, allocations: 3.101 MB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003031/0.3345, allocations: 1.699 MB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.3347, allocations: 4 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.3358, allocations: 328 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004966/0.3363, allocations: 219.1 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.3367, allocations: 183.5 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004001/0.3371, allocations: 319 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003499/0.3375, allocations: 173.5 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.3377, allocations: 147.6 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003398/0.3381, allocations: 175.4 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.3381, allocations: 23.94 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003767/0.3385, allocations: 219.6 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.3386, allocations: 107.7 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.3388, allocations: 99.53 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005401/0.3393, allocations: 426.5 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3393, allocations: 0 / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3393, allocations: 0 / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3393, allocations: 0 / 1.333 GB, free: 10.31 MB / 1.029 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.0009693/0.3403, allocations: 498.7 kB / 1.333 GB, free: 9.793 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3403, allocations: 8.031 kB / 1.333 GB, free: 9.785 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.31e-05/0.3404, allocations: 58.73 kB / 1.333 GB, free: 9.719 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007396/0.3411, allocations: 92.69 kB / 1.333 GB, free: 9.629 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.3415, allocations: 198.1 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.3415, allocations: 16.81 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.3416, allocations: 36.48 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006249/0.3422, allocations: 415.9 kB / 1.334 GB, free: 8.914 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.3423, allocations: 8 kB / 1.334 GB, free: 8.906 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.3423, allocations: 11.98 kB / 1.334 GB, free: 8.895 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/0.3424, allocations: 36.39 kB / 1.334 GB, free: 8.859 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004872/0.3429, allocations: 301.5 kB / 1.334 GB, free: 8.566 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.3446, allocations: 1.085 MB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004563/0.3451, allocations: 210.4 kB / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.3452, allocations: 112.7 kB / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.3453, allocations: 11.98 kB / 1.336 GB, free: 7.078 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.3454, allocations: 38.5 kB / 1.336 GB, free: 7.031 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.542e-06/0.3454, allocations: 0 / 1.336 GB, free: 7.031 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001258/0.3466, allocations: 0.715 MB / 1.337 GB, free: 6.285 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.3467, allocations: 55.41 kB / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.3469, allocations: 202.6 kB / 1.337 GB, free: 6.012 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.3469, allocations: 29.7 kB / 1.337 GB, free: 5.977 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.347, allocations: 164.2 kB / 1.337 GB, free: 5.812 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.26e-05/0.3471, allocations: 75.38 kB / 1.337 GB, free: 5.738 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.3472, allocations: 53.7 kB / 1.337 GB, free: 5.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3473, allocations: 334.8 kB / 1.337 GB, free: 5.344 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.3475, allocations: 107.9 kB / 1.338 GB, free: 5.238 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.3477, allocations: 169.9 kB / 1.338 GB, free: 5.051 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.3482, allocations: 301.9 kB / 1.338 GB, free: 4.738 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3482, allocations: 4 kB / 1.338 GB, free: 4.734 MB / 1.029 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007979/0.349, allocations: 413.9 kB / 1.338 GB, free: 4.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.349, allocations: 7.984 kB / 1.338 GB, free: 4.312 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.349, allocations: 4 kB / 1.338 GB, free: 4.309 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004302/0.3494, allocations: 101 kB / 1.338 GB, free: 4.207 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.3497, allocations: 51.91 kB / 1.339 GB, free: 4.156 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/0.3517, allocations: 1.764 MB / 1.34 GB, free: 2.277 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.3519, allocations: 19.92 kB / 1.34 GB, free: 2.258 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.352, allocations: 15.98 kB / 1.34 GB, free: 2.242 MB / 1.029 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.0001665/0.3521, allocations: 155.4 kB / 1.34 GB, free: 2.082 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.3522, allocations: 15.91 kB / 1.34 GB, free: 2.066 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005019/0.3527, allocations: 295.4 kB / 1.341 GB, free: 1.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3527, allocations: 0 / 1.341 GB, free: 1.77 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.3527, allocations: 192 / 1.341 GB, free: 1.77 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.3527, allocations: 11.92 kB / 1.341 GB, free: 1.758 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000972/0.3537, allocations: 0.657 MB / 1.341 GB, free: 1.047 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3537, allocations: 0 / 1.341 GB, free: 1.047 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003216/0.354, allocations: 59.95 kB / 1.341 GB, free: 0.9883 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.354, allocations: 3.938 kB / 1.341 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.354, allocations: 4 kB / 1.341 GB, free: 0.9805 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.354, allocations: 64 / 1.341 GB, free: 0.9805 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.354, allocations: 8 kB / 1.341 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00064/0.3547, allocations: 0.5139 MB / 1.342 GB, free: 448 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.3548, allocations: 43.84 kB / 1.342 GB, free: 404 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.3548, allocations: 4 kB / 1.342 GB, free: 400 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.355, allocations: 15.98 kB / 1.342 GB, free: 384 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.355, allocations: 11.97 kB / 1.342 GB, free: 372 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.3551, allocations: 7.938 kB / 1.342 GB, free: 364 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001405/0.3552, allocations: 152 kB / 1.342 GB, free: 208 kB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3552, allocations: 0 / 1.342 GB, free: 208 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003711/0.3556, allocations: 64 kB / 1.342 GB, free: 144 kB / 1.029 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.001007/0.3566, allocations: 1.064 MB / 1.343 GB, free: 15.04 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007539/0.3573, allocations: 410.3 kB / 1.344 GB, free: 14.63 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3573, allocations: 0 / 1.344 GB, free: 14.63 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.3575, allocations: 112.4 kB / 1.344 GB, free: 14.52 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.3579, allocations: 39.14 kB / 1.344 GB, free: 14.48 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/0.3618, allocations: 2.884 MB / 1.347 GB, free: 11.47 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.362, allocations: 169.2 kB / 1.347 GB, free: 11.29 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001733/0.3622, allocations: 61.91 kB / 1.347 GB, free: 11.23 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.3623, allocations: 63.42 kB / 1.347 GB, free: 11.16 MB / 1.045 GB Notification: Performance of SimCode: time 1.203e-06/0.3623, allocations: 0 / 1.347 GB, free: 11.16 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03673/0.3991, allocations: 5.812 MB / 1.353 GB, free: 5.52 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.72, allocations: 2.438 kB / 1.353 GB, free: 5.52 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.29662910400657]