Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_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.005165/0.005166, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001476/0.001476, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.568/2.568, allocations: 482.6 MB / 0.7551 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 65.42 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2838, allocations: 162.3 MB / 1.242 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001549/0.2854, allocations: 0.5914 MB / 1.242 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002706/0.2856, allocations: 95.66 kB / 1.243 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.409e-05/0.2857, allocations: 4 kB / 1.243 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.421e-05/0.2857, allocations: 3.938 kB / 1.243 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.582e-05/0.2857, allocations: 0 / 1.243 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.2859, allocations: 15.97 kB / 1.243 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.294e-05/0.286, allocations: 8 kB / 1.243 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.286, allocations: 0 / 1.243 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.904e-05/0.286, allocations: 11.92 kB / 1.243 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.581e-05/0.2861, allocations: 0 / 1.243 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.2861, allocations: 4 kB / 1.243 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.417e-05/0.2862, allocations: 11.98 kB / 1.243 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.2862, allocations: 4 kB / 1.243 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.837e-05/0.2862, allocations: 11.92 kB / 1.243 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.083e-05/0.2863, allocations: 17.33 kB / 1.243 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2863, allocations: 0 / 1.243 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2863, allocations: 0 / 1.243 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.2863, allocations: 0 / 1.243 GB, free: 8.117 MB / 0.9669 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.0003313/0.2867, allocations: 320.1 kB / 1.243 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.2867, allocations: 8.031 kB / 1.243 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.418e-05/0.2867, allocations: 38.75 kB / 1.243 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.2869, allocations: 12.92 kB / 1.243 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.287, allocations: 164.4 kB / 1.243 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.287, allocations: 384 / 1.243 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-06/0.287, allocations: 384 / 1.243 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.2871, allocations: 42.25 kB / 1.243 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.2871, allocations: 3.938 kB / 1.243 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.2872, allocations: 0 / 1.243 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.2872, allocations: 0 / 1.243 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.481e-05/0.2872, allocations: 15.92 kB / 1.243 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.2874, allocations: 157.7 kB / 1.243 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.2876, allocations: 38.56 kB / 1.243 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.718e-05/0.2876, allocations: 20.91 kB / 1.243 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.2876, allocations: 0 / 1.243 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.2877, allocations: 38.56 kB / 1.243 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.2877, allocations: 0 / 1.243 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0001905/0.2879, allocations: 61.55 kB / 1.244 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.2879, allocations: 51.41 kB / 1.244 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.032e-05/0.288, allocations: 89.86 kB / 1.244 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.288, allocations: 29.7 kB / 1.244 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.82e-05/0.288, allocations: 80.14 kB / 1.244 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.288, allocations: 7.891 kB / 1.244 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.2881, allocations: 25.59 kB / 1.244 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.2882, allocations: 314.8 kB / 1.244 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.77e-05/0.2882, allocations: 7.984 kB / 1.244 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.964e-05/0.2883, allocations: 4 kB / 1.244 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.128e-05/0.2883, allocations: 21.12 kB / 1.244 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2884, allocations: 4 kB / 1.244 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000107/0.2885, allocations: 57.59 kB / 1.244 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.2885, allocations: 10.19 kB / 1.244 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.2885, allocations: 3.938 kB / 1.244 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.457e-06/0.2885, allocations: 0 / 1.244 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.2889, allocations: 39.94 kB / 1.244 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.2901, allocations: 1.408 MB / 1.246 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.466e-05/0.2901, allocations: 0 / 1.246 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.2902, allocations: 8.031 kB / 1.246 GB, free: 4.699 MB / 0.9669 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.807e-05/0.2902, allocations: 109.8 kB / 1.246 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.776e-06/0.2902, allocations: 3.953 kB / 1.246 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.756e-05/0.2903, allocations: 11.58 kB / 1.246 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.2903, allocations: 0 / 1.246 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.82e-07/0.2903, allocations: 4 kB / 1.246 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.2903, allocations: 0 / 1.246 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.977e-05/0.2904, allocations: 153.6 kB / 1.246 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2904, allocations: 4 kB / 1.246 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003526/0.2908, allocations: 47.92 kB / 1.246 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2908, allocations: 4 kB / 1.246 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.2908, allocations: 0 / 1.246 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/0.2919, allocations: 1.4 MB / 1.247 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2919, allocations: 8.156 kB / 1.247 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.292, allocations: 81.08 kB / 1.247 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.2921, allocations: 77.11 kB / 1.247 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.624e-06/0.2921, allocations: 3.938 kB / 1.247 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.612e-05/0.2921, allocations: 4 kB / 1.247 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/0.2921, allocations: 0 / 1.247 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.2922, allocations: 3.984 kB / 1.247 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.809e-05/0.2922, allocations: 79.28 kB / 1.248 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.2922, allocations: 0 / 1.248 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001758/0.2924, allocations: 8 kB / 1.248 GB, free: 2.469 MB / 0.9669 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003842/0.2928, allocations: 0.609 MB / 1.248 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004288/0.2932, allocations: 71.86 kB / 1.248 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2932, allocations: 0 / 1.248 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.2934, allocations: 39.95 kB / 1.248 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001143/0.2936, allocations: 7.938 kB / 1.248 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.2939, allocations: 114.6 kB / 1.248 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.2942, allocations: 0.6768 MB / 1.249 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.421e-05/0.2942, allocations: 0 / 1.249 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.2942, allocations: 15.44 kB / 1.249 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.2942, allocations: 0 / 1.249 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2594/0.5536, allocations: 1.301 MB / 1.25 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.11, allocations: 4.844 kB / 1.25 GB, free: 15.69 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches