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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009749/0.0009749, allocations: 91.06 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005826/0.005826, allocations: 170.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.49/2.49, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004057, allocations: 12.03 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3327, allocations: 159.6 MB / 1.059 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002405/0.3352, allocations: 1.183 MB / 1.06 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004117/0.3356, allocations: 99.81 kB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.351e-05/0.3357, allocations: 0 / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.3358, allocations: 0 / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.303e-05/0.3358, allocations: 3.938 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.3361, allocations: 11.98 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.007e-05/0.3362, allocations: 19.94 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3363, allocations: 7.984 kB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.382e-05/0.3364, allocations: 11.92 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.231e-05/0.3364, allocations: 15.92 kB / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.3365, allocations: 0 / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.444e-05/0.3366, allocations: 19.98 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.3366, allocations: 0 / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/0.3367, allocations: 37.64 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.3368, allocations: 27.89 kB / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3368, allocations: 0 / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3368, allocations: 0 / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.3369, allocations: 0 / 1.06 GB, free: 3.465 MB / 0.8106 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.0005906/0.3374, allocations: 343.8 kB / 1.06 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 7.181e-05/0.3375, allocations: 15.97 kB / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.66e-05/0.3376, allocations: 30.75 kB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002337/0.3378, allocations: 24.75 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.338, allocations: 164.4 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.338, allocations: 384 / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.338, allocations: 4.375 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.3383, allocations: 70.22 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3383, allocations: 3.938 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.3383, allocations: 0 / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3383, allocations: 0 / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.3386, allocations: 63.94 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/0.3391, allocations: 272.9 kB / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.3394, allocations: 66.48 kB / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.3396, allocations: 32.91 kB / 1.061 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.3396, allocations: 3.984 kB / 1.061 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.3396, allocations: 34.56 kB / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.843e-06/0.3396, allocations: 0 / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0006178/0.3403, allocations: 133.6 kB / 1.061 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.3403, allocations: 51.41 kB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.85e-05/0.3404, allocations: 105.8 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.3405, allocations: 29.69 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.3405, allocations: 88.08 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.3406, allocations: 11.84 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.3406, allocations: 13.75 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.3407, allocations: 314.8 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.3409, allocations: 27.97 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.341, allocations: 35.97 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.3413, allocations: 64.81 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.3414, allocations: 8 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003334/0.3417, allocations: 93.59 kB / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3417, allocations: 4 kB / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3417, allocations: 4.031 kB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3418, allocations: 4 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.3419, allocations: 11.98 kB / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3419, allocations: 0 / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.267e-05/0.342, allocations: 11.98 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.342, allocations: 4 kB / 1.062 GB, free: 1.125 MB / 0.8106 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.216e-05/0.3421, allocations: 117.8 kB / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.3422, allocations: 4 kB / 1.062 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/0.3422, allocations: 7.516 kB / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3422, allocations: 0 / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3422, allocations: 0 / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3422, allocations: 0 / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.3424, allocations: 173.8 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3424, allocations: 4 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.3425, allocations: 19.98 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3426, allocations: 0 / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.3426, allocations: 0 / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3426, allocations: 0 / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3426, allocations: 0 / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.343, allocations: 195.4 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.082e-05/0.343, allocations: 81.11 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.343, allocations: 0 / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.3432, allocations: 11.98 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.3433, allocations: 0 / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-06/0.3433, allocations: 7.969 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.914e-05/0.3433, allocations: 91.27 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3433, allocations: 0 / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000305/0.3436, allocations: 4 kB / 1.063 GB, free: 336 kB / 0.8106 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.0007007/0.3444, allocations: 0.7279 MB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003303/0.3447, allocations: 67.98 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3447, allocations: 3.938 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.3449, allocations: 36.03 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.3452, allocations: 5.406 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/0.3458, allocations: 158.3 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.346, allocations: 0.6848 MB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.863e-05/0.346, allocations: 0 / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.3461, allocations: 11.44 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of SimCode: time 4.71e-07/0.3461, allocations: 0 / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.9/4.246, allocations: 1.198 MB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002774/4.247, allocations: 205 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/6.196, allocations: 0 / 1.066 GB, free: 13.22 MB / 0.8262 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches