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.00132/0.00132, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00148/0.00148, allocations: 212.1 kB / 23.04 MB, free: 5.082 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.804/2.804, allocations: 476.7 MB / 0.7715 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] 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.002081/0.002081, allocations: 62.3 kB / 1.118 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3833, allocations: 169.9 MB / 1.284 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002945/0.3862, allocations: 1.488 MB / 1.286 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002748/0.3865, allocations: 87.8 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.545e-05/0.3865, allocations: 0 / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.167e-05/0.3865, allocations: 7.922 kB / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.983e-05/0.3866, allocations: 7.938 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.3868, allocations: 15.98 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.589e-05/0.3869, allocations: 23.86 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.241e-05/0.3869, allocations: 8 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.207e-05/0.387, allocations: 4 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.921e-05/0.387, allocations: 23.91 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.3871, allocations: 0 / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.034e-05/0.3871, allocations: 15.98 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.3871, allocations: 8 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.565e-05/0.3872, allocations: 11.92 kB / 1.286 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.3873, allocations: 31.42 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3873, allocations: 4 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3873, allocations: 0 / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.3873, allocations: 0 / 1.286 GB, free: 10 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004654/0.3877, allocations: 271.8 kB / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3878, allocations: 8.031 kB / 1.286 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.785e-05/0.3878, allocations: 192 / 1.286 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/0.3879, allocations: 30.75 kB / 1.286 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.3881, allocations: 24.8 kB / 1.286 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.3882, allocations: 106.5 kB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.3882, allocations: 384 / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.3882, allocations: 4.375 kB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.3885, allocations: 65.92 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.3885, allocations: 0 / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3885, allocations: 3.984 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.3885, allocations: 4 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.3887, allocations: 47.89 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.3891, allocations: 239.9 kB / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.3893, allocations: 54.53 kB / 1.287 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.3894, allocations: 24.91 kB / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.3894, allocations: 3.984 kB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.3895, allocations: 38.56 kB / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3895, allocations: 8 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0005048/0.39, allocations: 105.5 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.39, allocations: 51.41 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.967e-05/0.3901, allocations: 101.9 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.3901, allocations: 25.7 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.248e-05/0.3902, allocations: 100.2 kB / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.3902, allocations: 3.953 kB / 1.287 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.3903, allocations: 17.72 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3904, allocations: 310.8 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.3905, allocations: 23.97 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.72e-05/0.3906, allocations: 19.98 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/0.3909, allocations: 60.8 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3909, allocations: 0 / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004083/0.3913, allocations: 81.59 kB / 1.288 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.3913, allocations: 4 kB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-06/0.3913, allocations: 0 / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.3914, allocations: 4.031 kB / 1.288 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.3915, allocations: 11.98 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3915, allocations: 0 / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.905e-05/0.3916, allocations: 11.98 kB / 1.288 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.3916, allocations: 4 kB / 1.288 GB, free: 7.969 MB / 0.9825 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 0.0001163/0.3918, allocations: 109.8 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.3918, allocations: 3.953 kB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.3918, allocations: 11.61 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.3918, allocations: 4 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3919, allocations: 0 / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3919, allocations: 3.938 kB / 1.288 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.3921, allocations: 140.7 kB / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3921, allocations: 0 / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.3922, allocations: 11.98 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3922, allocations: 0 / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3923, allocations: 0 / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3923, allocations: 0 / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3923, allocations: 0 / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004724/0.3927, allocations: 187.4 kB / 1.288 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.308e-06/0.3927, allocations: 0 / 1.288 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.3928, allocations: 8.188 kB / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.3929, allocations: 7.984 kB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.393, allocations: 4 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.393, allocations: 4.031 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.422e-05/0.3931, allocations: 91.27 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3931, allocations: 0 / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003701/0.3934, allocations: 4 kB / 1.288 GB, free: 7.32 MB / 0.9825 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.0008833/0.3943, allocations: 0.7084 MB / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000357/0.3947, allocations: 51.95 kB / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3947, allocations: 0 / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.3948, allocations: 23.97 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.3953, allocations: 12.16 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007752/0.3961, allocations: 159 kB / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.3965, allocations: 0.6768 MB / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.169e-05/0.3966, allocations: 0 / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.538e-05/0.3966, allocations: 19.44 kB / 1.29 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.3966, allocations: 0 / 1.29 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02461/0.4212, allocations: 1.593 MB / 1.291 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.02, allocations: 8.5 kB / 1.291 GB, free: 4.129 MB / 0.9825 GB " [Timeout remaining time 287] (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: 18.82114359602565]