Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00143/0.00143, allocations: 116.6 kB / 17.16 MB, free: 5.895 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.001468/0.001468, allocations: 212 kB / 20.13 MB, free: 2.949 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.612/1.612, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.894/2.894, allocations: 476.7 MB / 0.7678 GB, free: 9.359 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="cs",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.002395/0.002395, allocations: 67.91 kB / 1.113 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088/1.09, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.003107/1.093, allocations: 1.468 MB / 1.28 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003421/1.093, allocations: 97.33 kB / 1.28 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.022e-05/1.093, allocations: 0 / 1.28 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.824e-05/1.093, allocations: 5.797 kB / 1.28 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.734e-05/1.094, allocations: 3.938 kB / 1.28 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/1.094, allocations: 18.67 kB / 1.28 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/1.094, allocations: 20.78 kB / 1.281 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.603e-05/1.094, allocations: 11.83 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.669e-05/1.094, allocations: 13.61 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.492e-05/1.094, allocations: 14.2 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/1.094, allocations: 6.094 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.323e-05/1.094, allocations: 16.73 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/1.094, allocations: 5.906 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.997e-05/1.094, allocations: 11.88 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/1.094, allocations: 28.75 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.094, allocations: 0 / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.234e-06/1.094, allocations: 0 / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.139e-05/1.094, allocations: 1.125 kB / 1.281 GB, free: 10.55 MB / 0.9981 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.0005583/1.095, allocations: 351.1 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/1.095, allocations: 9.5 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.371e-05/1.095, allocations: 1.094 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/1.095, allocations: 31.45 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/1.095, allocations: 12.7 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/1.095, allocations: 175.8 kB / 1.281 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/1.095, allocations: 2.125 kB / 1.281 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/1.095, allocations: 5.469 kB / 1.281 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/1.096, allocations: 63.78 kB / 1.281 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/1.096, allocations: 0 / 1.281 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/1.096, allocations: 0 / 1.281 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.096, allocations: 1.062 kB / 1.281 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/1.096, allocations: 43.75 kB / 1.281 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/1.096, allocations: 273.2 kB / 1.282 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/1.097, allocations: 51.5 kB / 1.282 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/1.097, allocations: 28.95 kB / 1.282 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/1.097, allocations: 1.125 kB / 1.282 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/1.097, allocations: 35.12 kB / 1.282 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/1.097, allocations: 5.031 kB / 1.282 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000489/1.097, allocations: 107.7 kB / 1.282 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/1.097, allocations: 52.86 kB / 1.282 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/1.097, allocations: 108.7 kB / 1.282 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/1.097, allocations: 29.83 kB / 1.282 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/1.098, allocations: 86.14 kB / 1.282 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/1.098, allocations: 5.922 kB / 1.282 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/1.098, allocations: 12.2 kB / 1.282 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.098, allocations: 318.5 kB / 1.282 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/1.098, allocations: 22.59 kB / 1.282 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/1.098, allocations: 23.81 kB / 1.282 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/1.098, allocations: 55.59 kB / 1.282 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.098, allocations: 0 / 1.282 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002983/1.098, allocations: 82.23 kB / 1.283 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/1.098, allocations: 9.594 kB / 1.283 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/1.098, allocations: 0.75 kB / 1.283 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/1.099, allocations: 4.438 kB / 1.283 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/1.099, allocations: 10.67 kB / 1.283 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/1.099, allocations: 1.438 kB / 1.283 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.733e-05/1.099, allocations: 7.406 kB / 1.283 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/1.099, allocations: 1.375 kB / 1.283 GB, free: 8.75 MB / 0.9981 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 9.968e-05/1.099, allocations: 118.5 kB / 1.283 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/1.099, allocations: 5.781 kB / 1.283 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/1.099, allocations: 5.547 kB / 1.283 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/1.099, allocations: 0.5156 kB / 1.283 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/1.099, allocations: 0.75 kB / 1.283 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/1.099, allocations: 1.375 kB / 1.283 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/1.099, allocations: 171.9 kB / 1.283 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.099, allocations: 4.672 kB / 1.283 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.289e-05/1.099, allocations: 10.55 kB / 1.283 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/1.099, allocations: 1.281 kB / 1.283 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/1.099, allocations: 0.5 kB / 1.283 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/1.099, allocations: 4.625 kB / 1.283 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.099, allocations: 0.6094 kB / 1.283 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/1.1, allocations: 177.4 kB / 1.283 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/1.1, allocations: 78.94 kB / 1.283 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/1.1, allocations: 5.844 kB / 1.283 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.942e-05/1.1, allocations: 11.52 kB / 1.283 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/1.1, allocations: 6.828 kB / 1.283 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/1.1, allocations: 0.75 kB / 1.283 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.684e-05/1.1, allocations: 86.38 kB / 1.283 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.1, allocations: 0 / 1.283 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002209/1.1, allocations: 5.219 kB / 1.283 GB, free: 8.078 MB / 0.9981 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.0007348/1.101, allocations: 0.7212 MB / 1.284 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003194/1.101, allocations: 50.67 kB / 1.284 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.101, allocations: 96 / 1.284 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001231/1.101, allocations: 29.34 kB / 1.284 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/1.102, allocations: 3.234 kB / 1.284 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005686/1.102, allocations: 158.6 kB / 1.284 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/1.103, allocations: 0.6774 MB / 1.285 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.418e-05/1.103, allocations: 10.14 kB / 1.285 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/1.103, allocations: 9.484 kB / 1.285 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/1.103, allocations: 0 / 1.285 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/1.122, allocations: 1.509 MB / 1.286 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.4/9.523, allocations: 9.312 kB / 1.286 GB, free: 6.105 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.142293167009484]