Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001136/0.001136, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001023/0.001023, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9084/0.9084, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.748/1.748, allocations: 377.8 MB / 0.6221 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/2.005e-05, allocations: 2.281 kB / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001813/0.001834, allocations: 1.462 MB / 0.9824 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002299/0.002063, allocations: 99.53 kB / 0.9825 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.531e-05/0.002099, allocations: 0 / 0.9825 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.997e-05/0.002129, allocations: 7.938 kB / 0.9825 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.273e-05/0.002171, allocations: 4 kB / 0.9825 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.002398, allocations: 11.98 kB / 0.9825 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.666e-05/0.002475, allocations: 23.92 kB / 0.9825 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.567e-05/0.002571, allocations: 7.938 kB / 0.9825 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.512e-05/0.002626, allocations: 15.97 kB / 0.9826 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.478e-05/0.00266, allocations: 15.92 kB / 0.9826 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.002678, allocations: 4 kB / 0.9826 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.341e-05/0.002732, allocations: 11.98 kB / 0.9826 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.002745, allocations: 4 kB / 0.9826 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.002764, allocations: 15.94 kB / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.002868, allocations: 35.88 kB / 0.9826 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.00287, allocations: 0 / 0.9826 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.162e-06/0.002872, allocations: 0 / 0.9826 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.002876, allocations: 0 / 0.9826 GB, free: 0.8594 MB / 0.9323 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.0003398/0.003216, allocations: 270.2 kB / 0.9829 GB, free: 0.5625 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.003255, allocations: 8.031 kB / 0.9829 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.77e-05/0.003283, allocations: 38.73 kB / 0.9829 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.003392, allocations: 8.922 kB / 0.9829 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.775e-05/0.00347, allocations: 121.8 kB / 0.9831 GB, free: 364 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.003491, allocations: 384 / 0.9831 GB, free: 364 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.0035, allocations: 4.375 kB / 0.9831 GB, free: 360 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.003631, allocations: 58.22 kB / 0.9831 GB, free: 296 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.003638, allocations: 192 / 0.9831 GB, free: 296 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.003648, allocations: 384 / 0.9831 GB, free: 296 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.003654, allocations: 4.125 kB / 0.9831 GB, free: 292 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.003774, allocations: 55.83 kB / 0.9832 GB, free: 236 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.004073, allocations: 224.1 kB / 0.9834 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.004175, allocations: 50.53 kB / 0.9834 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.971e-05/0.004235, allocations: 36.84 kB / 0.9835 GB, free: 15.87 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.004248, allocations: 0 / 0.9835 GB, free: 15.87 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.004271, allocations: 38.44 kB / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.004272, allocations: 0 / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002487/0.00452, allocations: 105.6 kB / 0.9836 GB, free: 15.71 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.004548, allocations: 55.39 kB / 0.9837 GB, free: 15.65 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.695e-05/0.004604, allocations: 101.9 kB / 0.9838 GB, free: 15.54 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.004613, allocations: 25.7 kB / 0.9838 GB, free: 15.51 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.004648, allocations: 88.12 kB / 0.9839 GB, free: 15.42 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.004663, allocations: 11.89 kB / 0.9839 GB, free: 15.41 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.00469, allocations: 9.719 kB / 0.9839 GB, free: 15.39 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.523e-05/0.004765, allocations: 323 kB / 0.9842 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.568e-05/0.004821, allocations: 23.97 kB / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.719e-05/0.004868, allocations: 19.98 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.004969, allocations: 56.73 kB / 0.9843 GB, free: 14.96 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.00497, allocations: 0 / 0.9843 GB, free: 14.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001256/0.005096, allocations: 89.61 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.005108, allocations: 4 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.005112, allocations: 0 / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.005123, allocations: 0 / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.76e-05/0.00519, allocations: 11.98 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.005195, allocations: 0 / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.26e-05/0.005228, allocations: 7.984 kB / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.005234, allocations: 8.031 kB / 0.9844 GB, free: 14.84 MB / 0.948 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 5.037e-05/0.005284, allocations: 109.8 kB / 0.9845 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.005297, allocations: 7.938 kB / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.33e-05/0.005321, allocations: 7.609 kB / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.005322, allocations: 0 / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.005326, allocations: 3.938 kB / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.005328, allocations: 0 / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.005428, allocations: 132.8 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.005429, allocations: 0 / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.00546, allocations: 12.23 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.005463, allocations: 15.86 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.00547, allocations: 4 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.00547, allocations: 0 / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.005471, allocations: 0 / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.005619, allocations: 171.5 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.005626, allocations: 11.89 kB / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.816e-06/0.005635, allocations: 0 / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.325e-05/0.005678, allocations: 12.02 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.005707, allocations: 4 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.00571, allocations: 3.938 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.817e-05/0.005738, allocations: 83.28 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.005738, allocations: 0 / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001402/0.005878, allocations: 7.938 kB / 0.985 GB, free: 14.2 MB / 0.948 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.0003182/0.006196, allocations: 0.7046 MB / 0.9857 GB, free: 13.46 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001418/0.006338, allocations: 51.95 kB / 0.9857 GB, free: 13.41 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.00634, allocations: 4 kB / 0.9857 GB, free: 13.41 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.316e-05/0.006393, allocations: 27.91 kB / 0.9857 GB, free: 13.38 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.006596, allocations: 8 kB / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.00693, allocations: 146.7 kB / 0.9859 GB, free: 13.19 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.899e-05/0.006968, allocations: 63.34 kB / 0.986 GB, free: 13.11 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.214e-05/0.006991, allocations: 0 / 0.986 GB, free: 13.11 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.007026, allocations: 12.5 kB / 0.986 GB, free: 13.1 MB / 0.948 GB Notification: Performance of SimCode: time 3.5e-07/0.007026, allocations: 0 / 0.986 GB, free: 13.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/0.02284, allocations: 2.184 MB / 0.9881 GB, free: 11.05 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.959/6.982, allocations: 13.23 kB / 0.9881 GB, free: 11.04 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.987169940955937]