Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.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.0008307/0.0008307, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008651/0.0008651, allocations: 165.9 kB / 22.45 MB, free: 2.113 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 0.8892/0.8892, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.751/1.751, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431e-05/1.6e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002263/0.002279, allocations: 1.455 MB / 1.001 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002593/0.002538, allocations: 95.61 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.46e-05/0.002573, allocations: 3.938 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.835e-05/0.002601, allocations: 0 / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.201e-05/0.002643, allocations: 7.938 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.002848, allocations: 11.98 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.356e-05/0.002921, allocations: 27.86 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.086e-05/0.003012, allocations: 7.984 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.43e-05/0.003066, allocations: 15.98 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.614e-05/0.003103, allocations: 7.984 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.003121, allocations: 4 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.369e-05/0.003184, allocations: 19.98 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.003199, allocations: 3.938 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.979e-05/0.003219, allocations: 8 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.003335, allocations: 35.88 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003337, allocations: 0 / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.222e-06/0.003339, allocations: 0 / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.003342, allocations: 0 / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00037/0.003712, allocations: 266.3 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.003753, allocations: 8.75 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.343e-05/0.003786, allocations: 42.73 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.003926, allocations: 20.86 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.628e-05/0.004012, allocations: 109.7 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.004033, allocations: 384 / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.004042, allocations: 4.375 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.004211, allocations: 62.22 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.004219, allocations: 192 / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.004229, allocations: 4.375 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.004235, allocations: 4.125 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.004408, allocations: 47.95 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.004755, allocations: 220.1 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.004904, allocations: 58.47 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.661e-05/0.00499, allocations: 32.91 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.005006, allocations: 0 / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.005034, allocations: 34.5 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.005035, allocations: 4 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0003602/0.005395, allocations: 109.5 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.005429, allocations: 55.39 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.683e-05/0.005495, allocations: 101.9 kB / 1.002 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.005508, allocations: 25.7 kB / 1.002 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.16e-05/0.005549, allocations: 92.08 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.005569, allocations: 12.02 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.005601, allocations: 13.72 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.664e-05/0.005688, allocations: 314.8 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-05/0.005773, allocations: 27.91 kB / 1.003 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.431e-05/0.005847, allocations: 19.98 kB / 1.003 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.006006, allocations: 60.86 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.006008, allocations: 0 / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002001/0.006208, allocations: 85.53 kB / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.006221, allocations: 4 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.006225, allocations: 0 / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.006237, allocations: 0 / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.745e-05/0.006324, allocations: 11.98 kB / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.006329, allocations: 0 / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.728e-05/0.006377, allocations: 12.02 kB / 1.003 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.006383, allocations: 4 kB / 1.003 GB, free: 9.785 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 6.164e-05/0.006445, allocations: 105.8 kB / 1.003 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.006471, allocations: 11.88 kB / 1.003 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.115e-05/0.006502, allocations: 11.61 kB / 1.003 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.006504, allocations: 0 / 1.003 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.006508, allocations: 0 / 1.003 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.00651, allocations: 0 / 1.003 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.00666, allocations: 128.8 kB / 1.003 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006661, allocations: 0 / 1.003 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-05/0.006719, allocations: 15.98 kB / 1.003 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.006724, allocations: 3.938 kB / 1.003 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.006731, allocations: 0 / 1.003 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.006732, allocations: 256 / 1.003 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.006734, allocations: 3.984 kB / 1.003 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.006967, allocations: 179.4 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-06/0.006976, allocations: 11.94 kB / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.006988, allocations: 4.031 kB / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.657e-05/0.007064, allocations: 7.984 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.007102, allocations: 8 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.007106, allocations: 0 / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.478e-05/0.007141, allocations: 79.28 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.007141, allocations: 0 / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002595/0.007401, allocations: 4 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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.0004408/0.007841, allocations: 0.7162 MB / 1.004 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002072/0.008049, allocations: 51.94 kB / 1.004 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.00805, allocations: 0 / 1.004 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.038e-05/0.008131, allocations: 27.97 kB / 1.004 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.008393, allocations: 4 kB / 1.004 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004468/0.00884, allocations: 147.5 kB / 1.005 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.931e-05/0.008889, allocations: 71.22 kB / 1.005 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.089e-05/0.00892, allocations: 0 / 1.005 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.619e-05/0.008966, allocations: 12.5 kB / 1.005 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of SimCode: time 4.61e-07/0.008967, allocations: 0 / 1.005 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.02508, allocations: 2.2 MB / 1.007 GB, free: 5.969 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.873/6.898, allocations: 2.062 kB / 1.007 GB, free: 5.969 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.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: 10.837993571534753]