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.008413/0.008413, allocations: 103.8 kB / 15.74 MB, free: 6.449 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.001688/0.001688, allocations: 195.8 kB / 16.67 MB, free: 6.355 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.678/2.678, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 67.89 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.311, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.003166/0.3142, allocations: 1.443 MB / 1.168 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002795/0.3145, allocations: 88.64 kB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.849e-05/0.3146, allocations: 0 / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.3146, allocations: 11.88 kB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.783e-05/0.3147, allocations: 3.938 kB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.3149, allocations: 19.98 kB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.391e-05/0.315, allocations: 23.92 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.305e-05/0.3151, allocations: 8 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.142e-05/0.3151, allocations: 3.984 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.378e-05/0.3152, allocations: 19.91 kB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.3152, allocations: 4 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.005e-05/0.3153, allocations: 15.98 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.3153, allocations: 11.94 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.3153, allocations: 11.94 kB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.3154, allocations: 28.17 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3155, allocations: 3.938 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.196e-06/0.3155, allocations: 0 / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.3155, allocations: 3.938 kB / 1.168 GB, free: 5.574 MB / 0.92 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.0004959/0.316, allocations: 347.3 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.316, allocations: 8.031 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.075e-05/0.3161, allocations: 38.75 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001865/0.3163, allocations: 16.86 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.3164, allocations: 164.4 kB / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.3164, allocations: 4.359 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.3165, allocations: 384 / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.3167, allocations: 58.22 kB / 1.168 GB, free: 4.848 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3167, allocations: 3.938 kB / 1.168 GB, free: 4.844 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3167, allocations: 0 / 1.168 GB, free: 4.844 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.3167, allocations: 4 kB / 1.168 GB, free: 4.84 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.317, allocations: 51.94 kB / 1.168 GB, free: 4.789 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/0.3175, allocations: 268.8 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.3177, allocations: 54.48 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.3178, allocations: 32.89 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.3179, allocations: 0 / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.3179, allocations: 34.56 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3179, allocations: 0 / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.000496/0.3184, allocations: 105.7 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.3185, allocations: 55.41 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.724e-05/0.3186, allocations: 101.8 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/0.3186, allocations: 25.7 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.3187, allocations: 88.14 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.3187, allocations: 3.953 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/0.3188, allocations: 17.7 kB / 1.169 GB, free: 3.902 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3189, allocations: 314.8 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.3191, allocations: 24 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.3192, allocations: 23.98 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.3194, allocations: 48.81 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3194, allocations: 3.938 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002526/0.3197, allocations: 89.64 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3197, allocations: 4 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.3197, allocations: 0 / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3197, allocations: 0 / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.3198, allocations: 15.92 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.3198, allocations: 0 / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.953e-05/0.3199, allocations: 15.88 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.3199, allocations: 8.281 kB / 1.17 GB, free: 3.348 MB / 0.92 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.903e-05/0.32, allocations: 113.8 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.3201, allocations: 7.938 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.3201, allocations: 3.531 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3201, allocations: 0 / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.3201, allocations: 4 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3201, allocations: 3.984 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.3204, allocations: 169.6 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.3204, allocations: 0 / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.986e-05/0.3205, allocations: 15.98 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3205, allocations: 0 / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.3205, allocations: 0 / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3205, allocations: 0 / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3205, allocations: 0 / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.3208, allocations: 179.4 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.3209, allocations: 85.05 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.3209, allocations: 4 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.163e-05/0.321, allocations: 7.984 kB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.321, allocations: 0 / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.3211, allocations: 0 / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.284e-05/0.3211, allocations: 83.28 kB / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3211, allocations: 4 kB / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002357/0.3214, allocations: 4 kB / 1.17 GB, free: 2.578 MB / 0.92 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.0006428/0.322, allocations: 0.7124 MB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002822/0.3223, allocations: 55.97 kB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3223, allocations: 0 / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.3224, allocations: 23.98 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.3228, allocations: 10.81 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005142/0.3233, allocations: 151.1 kB / 1.171 GB, free: 1.566 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.3236, allocations: 0.6768 MB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.394e-05/0.3236, allocations: 4 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.3237, allocations: 7.438 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of SimCode: time 2.245e-06/0.3237, allocations: 0 / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01812/0.3418, allocations: 1.464 MB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/7.922, allocations: 9.969 kB / 1.173 GB, free: 15.47 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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