Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_9_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.007955/0.007954, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001551/0.001551, allocations: 188.9 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.368/1.368, 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 9.1.3-maint.9.1.x/package.mo): time 2.34/2.34, allocations: 390.3 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.28 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2767, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002638/0.2794, allocations: 1.435 MB / 1.089 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002991/0.2798, allocations: 92.59 kB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.05e-05/0.2798, allocations: 0 / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.28e-05/0.2799, allocations: 7.922 kB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.789e-05/0.2799, allocations: 3.938 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.2801, allocations: 15.98 kB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.805e-05/0.2802, allocations: 35.84 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.2804, allocations: 4 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.197e-05/0.2804, allocations: 7.938 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.392e-05/0.2805, allocations: 19.92 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.2805, allocations: 4 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.523e-05/0.2806, allocations: 15.98 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.2806, allocations: 0 / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.2806, allocations: 15.92 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.2807, allocations: 31.89 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2808, allocations: 0 / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2808, allocations: 0 / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.2808, allocations: 0 / 1.089 GB, free: 308 kB / 0.8419 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.0004948/0.2813, allocations: 346.3 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.2813, allocations: 12.02 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.422e-05/0.2814, allocations: 34.75 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.2815, allocations: 8.922 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.2817, allocations: 168.9 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.2817, allocations: 384 / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.2817, allocations: 8.312 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.2819, allocations: 58.22 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2819, allocations: 7.938 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.2819, allocations: 0 / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.282, allocations: 4 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.2822, allocations: 43.95 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003841/0.2826, allocations: 261.2 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.2828, allocations: 58.42 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.2829, allocations: 28.89 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.2829, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.2829, allocations: 42.5 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.2829, allocations: 0 / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004122/0.2834, allocations: 97.62 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.2834, allocations: 55.41 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.211e-05/0.2835, allocations: 105.8 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.2835, allocations: 33.7 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/0.2835, allocations: 84.08 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.2836, allocations: 3.906 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.2836, allocations: 21.84 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.081e-05/0.2837, allocations: 314.8 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.2838, allocations: 19.98 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.906e-05/0.2839, allocations: 27.97 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.2841, allocations: 52.88 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2841, allocations: 3.938 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002471/0.2844, allocations: 81.58 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.2844, allocations: 4 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2844, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.2844, allocations: 3.938 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.2846, allocations: 16.02 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.2846, allocations: 0 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.955e-05/0.2846, allocations: 19.89 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.2847, allocations: 3.984 kB / 1.091 GB, free: 14.08 MB / 0.8575 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.567e-05/0.2847, allocations: 109.8 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.2848, allocations: 4.25 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.159e-05/0.2848, allocations: 3.531 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2848, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.2848, allocations: 4 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2848, allocations: 4 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.285, allocations: 169.6 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.285, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.921e-05/0.2851, allocations: 11.98 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.2851, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.2851, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2851, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.2851, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.2854, allocations: 187.4 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.2855, allocations: 84.95 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.2855, allocations: 4 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.481e-05/0.2856, allocations: 7.984 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.2856, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.2857, allocations: 3.984 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.216e-05/0.2857, allocations: 91.31 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.3e-07/0.2857, allocations: 0 / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002172/0.2859, allocations: 4 kB / 1.092 GB, free: 13.3 MB / 0.8575 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.0005115/0.2865, allocations: 0.7046 MB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002603/0.2867, allocations: 51.89 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2867, allocations: 0 / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.2868, allocations: 27.97 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.2871, allocations: 8 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004617/0.2876, allocations: 155.4 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.2878, allocations: 0.6768 MB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.121e-05/0.2878, allocations: 0 / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.2879, allocations: 19.38 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of SimCode: time 2.7e-07/0.2879, allocations: 0 / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.3056, allocations: 1.477 MB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.333/7.638, allocations: 12 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches