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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.00849/0.00849, allocations: 96.83 kB / 15.73 MB, free: 6.055 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.001894/0.001894, allocations: 193.8 kB / 16.67 MB, free: 5.977 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.922/2.922, allocations: 469.4 MB / 0.7422 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 63.91 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3474, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.003126/0.3506, allocations: 1.453 MB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003018/0.3509, allocations: 87.8 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.894e-05/0.3509, allocations: 3.938 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.351, allocations: 3.938 kB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.364e-05/0.3511, allocations: 3.938 kB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.3513, allocations: 19.97 kB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.247e-05/0.3514, allocations: 23.94 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.264e-05/0.3515, allocations: 7.984 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.431e-05/0.3515, allocations: 7.938 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.601e-05/0.3516, allocations: 15.92 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.3516, allocations: 4 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.934e-05/0.3516, allocations: 15.98 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.3517, allocations: 3.984 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.211e-05/0.3517, allocations: 15.92 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.3518, allocations: 27.91 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3518, allocations: 4 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3518, allocations: 0 / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.3519, allocations: 0 / 1.221 GB, free: 12.95 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.0005695/0.3524, allocations: 347.3 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.3525, allocations: 8.031 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.54e-05/0.3525, allocations: 34.75 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.3527, allocations: 12.91 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.3529, allocations: 180.2 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.353, allocations: 4.375 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.353, allocations: 384 / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.3532, allocations: 58.22 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3532, allocations: 3.938 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.3533, allocations: 0 / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3533, allocations: 4 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.3535, allocations: 43.95 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.3539, allocations: 265 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.3541, allocations: 58.42 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.3542, allocations: 28.89 kB / 1.222 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.3543, allocations: 7.984 kB / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.3543, allocations: 34.56 kB / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.3543, allocations: 0 / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0004273/0.3547, allocations: 101.6 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.3548, allocations: 59.34 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.986e-05/0.3549, allocations: 106 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.3549, allocations: 25.7 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.3549, allocations: 84.14 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.355, allocations: 7.953 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.355, allocations: 13.72 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.3552, allocations: 310.8 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.3553, allocations: 27.91 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.814e-05/0.3554, allocations: 31.97 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.3556, allocations: 48.81 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3556, allocations: 3.938 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000302/0.3559, allocations: 89.86 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.356, allocations: 5.25 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.356, allocations: 0 / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.356, allocations: 0 / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.3561, allocations: 15.98 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.3561, allocations: 0 / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.744e-05/0.3562, allocations: 11.98 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.3562, allocations: 0 / 1.223 GB, free: 10.73 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 7.447e-05/0.3563, allocations: 114.3 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.3563, allocations: 7.984 kB / 1.223 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.3564, allocations: 7.531 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3564, allocations: 0 / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3564, allocations: 0 / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.3564, allocations: 0 / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.3565, allocations: 165.6 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3566, allocations: 3.984 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.393e-05/0.3566, allocations: 11.98 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3567, allocations: 0 / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.3567, allocations: 4 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3567, allocations: 0 / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3567, allocations: 0 / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.357, allocations: 183.4 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/0.357, allocations: 81.06 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.3571, allocations: 8.031 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.629e-05/0.3572, allocations: 7.984 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.3572, allocations: 3.938 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.3572, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.278e-05/0.3573, allocations: 91.27 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3573, allocations: 0 / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002238/0.3575, allocations: 4 kB / 1.224 GB, free: 9.949 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.0005724/0.3581, allocations: 0.7124 MB / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002504/0.3583, allocations: 43.95 kB / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3583, allocations: 4.094 kB / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.3585, allocations: 27.97 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.3587, allocations: 15.88 kB / 1.225 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004549/0.3592, allocations: 147 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.3595, allocations: 0.6768 MB / 1.226 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.415e-05/0.3595, allocations: 12 kB / 1.226 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.3596, allocations: 15.42 kB / 1.226 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.3596, allocations: 0 / 1.226 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.3776, allocations: 1.469 MB / 1.227 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.594/7.971, allocations: 4.047 kB / 1.227 GB, free: 6.824 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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