Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_10_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.001758/0.001758, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002063/0.002063, allocations: 191.3 kB / 16.25 MB, free: 6.625 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.332/1.332, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.491/2.491, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.89 kB / 0.8688 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6607/0.662, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002271/0.6643, allocations: 1.511 MB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002051/0.6645, allocations: 88.59 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.315e-05/0.6645, allocations: 0 / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.6645, allocations: 0 / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.459e-05/0.6646, allocations: 7.938 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.6647, allocations: 19.97 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.921e-05/0.6648, allocations: 23.92 kB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.812e-05/0.6649, allocations: 7.984 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.18e-05/0.6649, allocations: 15.92 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.726e-05/0.6649, allocations: 11.94 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.6649, allocations: 4 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.268e-05/0.665, allocations: 15.98 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.665, allocations: 3.984 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.943e-05/0.665, allocations: 11.94 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.431e-05/0.6651, allocations: 39.89 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.103e-06/0.6651, allocations: 0 / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.552e-06/0.6651, allocations: 0 / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.6651, allocations: 0 / 1.019 GB, free: 0.9102 MB / 0.7637 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.0003187/0.6655, allocations: 345.7 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.6655, allocations: 8.031 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.384e-05/0.6655, allocations: 30.75 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.6657, allocations: 16.83 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.28e-05/0.6658, allocations: 168.3 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.6658, allocations: 8.375 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-06/0.6658, allocations: 384 / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.666, allocations: 62.16 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.666, allocations: 3.938 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-06/0.666, allocations: 0 / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-06/0.666, allocations: 3.938 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.6662, allocations: 51.95 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003044/0.6665, allocations: 257 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.6666, allocations: 58.48 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.494e-05/0.6668, allocations: 32.83 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.6668, allocations: 4 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.6668, allocations: 30.56 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.6668, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003457/0.6671, allocations: 105.5 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.6672, allocations: 55.53 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.008e-05/0.6672, allocations: 105.8 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.6673, allocations: 25.7 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.097e-05/0.6673, allocations: 84.14 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.6673, allocations: 3.906 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.6674, allocations: 17.66 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.255e-05/0.6674, allocations: 322.8 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.64e-05/0.6675, allocations: 23.98 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.675e-05/0.6676, allocations: 23.97 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.6678, allocations: 52.81 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.6678, allocations: 3.938 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002152/0.668, allocations: 81.95 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.6681, allocations: 8 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-06/0.6681, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/0.6681, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.6682, allocations: 15.98 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.6682, allocations: 3.938 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.779e-05/0.6683, allocations: 7.984 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.6683, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 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 5.829e-05/0.6683, allocations: 118.3 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.6684, allocations: 3.906 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.96e-05/0.6684, allocations: 7.531 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.6684, allocations: 4 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.6684, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-06/0.6684, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.6685, allocations: 161.6 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6686, allocations: 4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.218e-05/0.6686, allocations: 7.984 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.6686, allocations: 8 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.6686, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.6687, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6687, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.6689, allocations: 179.4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.6689, allocations: 93 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.669, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.525e-05/0.669, allocations: 7.984 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.6691, allocations: 7.984 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.6691, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.335e-05/0.6691, allocations: 83.28 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6691, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002024/0.6693, allocations: 4 kB / 1.021 GB, free: 13.93 MB / 0.7794 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.0004448/0.6698, allocations: 0.724 MB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.67, allocations: 51.92 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.67, allocations: 4 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.451e-05/0.6701, allocations: 23.97 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.6703, allocations: 4 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.6707, allocations: 163.3 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.6709, allocations: 0.6768 MB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.711e-05/0.6709, allocations: 0 / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.671, allocations: 15.44 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.671, allocations: 0 / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.007/1.678, allocations: 1.293 MB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/1.678, allocations: 201.4 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/3.511, allocations: 4 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches