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.00185/0.00185, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002373/0.002373, allocations: 217.1 kB / 22.24 MB, free: 4.855 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.988 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.162/3.162, allocations: 0.4892 GB / 0.7943 GB, free: 35.58 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.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: 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.002113/0.002113, allocations: 72.17 kB / 1.153 GB, free: 25.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3497, allocations: 176.1 MB / 1.325 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002704/0.3524, allocations: 1.461 MB / 1.326 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002886/0.3526, allocations: 87.77 kB / 1.327 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.071e-05/0.3527, allocations: 4 kB / 1.327 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.494e-05/0.3527, allocations: 0 / 1.327 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.412e-05/0.3527, allocations: 3.938 kB / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.3529, allocations: 15.97 kB / 1.327 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.361e-05/0.353, allocations: 27.92 kB / 1.327 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.771e-05/0.3531, allocations: 7.984 kB / 1.327 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.774e-05/0.3531, allocations: 7.938 kB / 1.327 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.847e-05/0.3532, allocations: 7.984 kB / 1.327 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.3532, allocations: 7.938 kB / 1.327 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.838e-05/0.3533, allocations: 15.98 kB / 1.327 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.3533, allocations: 8 kB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.302e-05/0.3533, allocations: 7.938 kB / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.3534, allocations: 40.14 kB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.3534, allocations: 7.875 kB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.933e-06/0.3534, allocations: 0 / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3534, allocations: 0 / 1.327 GB, free: 0.6484 MB / 1.014 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.0004991/0.3539, allocations: 266.3 kB / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.354, allocations: 12.03 kB / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.354, allocations: 30.75 kB / 1.327 GB, free: 312 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.3542, allocations: 20.88 kB / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.3543, allocations: 110.5 kB / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.3543, allocations: 4.375 kB / 1.327 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.3543, allocations: 4.312 kB / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.3545, allocations: 54.23 kB / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.3546, allocations: 7.938 kB / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.3546, allocations: 0 / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3546, allocations: 0 / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.3548, allocations: 59.88 kB / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.3552, allocations: 224.1 kB / 1.327 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.3554, allocations: 50.48 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.3556, allocations: 28.89 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.3556, allocations: 0 / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.3556, allocations: 38.56 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.3556, allocations: 4 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004281/0.356, allocations: 101.5 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.3561, allocations: 51.41 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.825e-05/0.3562, allocations: 105.8 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.3562, allocations: 25.7 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/0.3563, allocations: 88.14 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.3563, allocations: 7.891 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.3563, allocations: 25.83 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3565, allocations: 310.8 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.3566, allocations: 19.98 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.3567, allocations: 27.97 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.3569, allocations: 48.75 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.3569, allocations: 8 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002594/0.3572, allocations: 81.64 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3572, allocations: 4 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3572, allocations: 3.938 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3572, allocations: 4 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.3573, allocations: 7.984 kB / 1.328 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3573, allocations: 0 / 1.328 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.5e-05/0.3574, allocations: 20.02 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.3574, allocations: 0 / 1.329 GB, free: 14.63 MB / 1.029 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 8.561e-05/0.3575, allocations: 110.3 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.3575, allocations: 7.953 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.6e-05/0.3575, allocations: 3.625 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3575, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3575, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3575, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.3577, allocations: 136.7 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3577, allocations: 0 / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.315e-05/0.3578, allocations: 19.92 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3578, allocations: 3.984 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.3578, allocations: 3.938 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.3578, allocations: 8.234 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3578, allocations: 0 / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.3581, allocations: 175.5 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-06/0.3581, allocations: 0 / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.3582, allocations: 8.016 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.129e-05/0.3583, allocations: 8 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.3583, allocations: 7.984 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.3583, allocations: 0 / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.382e-05/0.3583, allocations: 79.28 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3583, allocations: 0 / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000224/0.3586, allocations: 8 kB / 1.329 GB, free: 13.99 MB / 1.029 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.0006344/0.3592, allocations: 0.7123 MB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002567/0.3595, allocations: 59.94 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.3595, allocations: 0 / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.3596, allocations: 27.92 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.3599, allocations: 0 / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005413/0.3604, allocations: 163.2 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.182e-05/0.3605, allocations: 59.34 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.409e-05/0.3605, allocations: 4 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.3606, allocations: 11.38 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.3606, allocations: 0 / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.3886, allocations: 2.072 MB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.11, allocations: 6.25 kB / 1.332 GB, free: 10.93 MB / 1.029 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.825571638997644]