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 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.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.00717/0.00717, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001836/0.001836, allocations: 197.8 kB / 16.68 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.794/2.794, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 64.11 kB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3213, allocations: 162.3 MB / 1.242 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002445/0.3238, allocations: 1.455 MB / 1.243 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002516/0.3241, allocations: 87.75 kB / 1.243 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.3241, allocations: 0 / 1.243 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.3241, allocations: 3.938 kB / 1.243 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.482e-05/0.3242, allocations: 0 / 1.243 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.3244, allocations: 19.92 kB / 1.243 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.865e-05/0.3244, allocations: 27.92 kB / 1.243 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.493e-05/0.3245, allocations: 8 kB / 1.243 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.282e-05/0.3246, allocations: 15.91 kB / 1.243 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.922e-05/0.3246, allocations: 11.92 kB / 1.243 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.3246, allocations: 4 kB / 1.243 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.94e-05/0.3247, allocations: 15.98 kB / 1.243 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.3247, allocations: 4 kB / 1.243 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.3248, allocations: 11.94 kB / 1.243 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.3249, allocations: 27.89 kB / 1.243 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.3249, allocations: 4 kB / 1.244 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3249, allocations: 0 / 1.244 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.3249, allocations: 4 kB / 1.244 GB, free: 8.09 MB / 0.9981 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.0004699/0.3254, allocations: 343.4 kB / 1.244 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3254, allocations: 8.031 kB / 1.244 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.863e-05/0.3255, allocations: 34.75 kB / 1.244 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.3256, allocations: 12.88 kB / 1.244 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.3257, allocations: 176.3 kB / 1.244 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.3258, allocations: 384 / 1.244 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-06/0.3258, allocations: 384 / 1.244 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.326, allocations: 66.16 kB / 1.244 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.326, allocations: 3.938 kB / 1.244 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.326, allocations: 4 kB / 1.244 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.326, allocations: 4 kB / 1.244 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.3262, allocations: 43.94 kB / 1.244 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.3266, allocations: 264.9 kB / 1.244 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.3268, allocations: 58.42 kB / 1.244 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.3269, allocations: 28.89 kB / 1.245 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.3269, allocations: 3.938 kB / 1.245 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.327, allocations: 38.56 kB / 1.245 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.327, allocations: 0 / 1.245 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0004093/0.3274, allocations: 97.62 kB / 1.245 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.3274, allocations: 59.34 kB / 1.245 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.636e-05/0.3275, allocations: 101.8 kB / 1.245 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.3275, allocations: 25.7 kB / 1.245 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.296e-05/0.3276, allocations: 96.2 kB / 1.245 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.3276, allocations: 7.938 kB / 1.245 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.3277, allocations: 13.72 kB / 1.245 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3278, allocations: 314.8 kB / 1.245 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.3279, allocations: 23.97 kB / 1.245 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.333e-05/0.328, allocations: 19.98 kB / 1.245 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.3282, allocations: 52.88 kB / 1.245 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3282, allocations: 3.938 kB / 1.245 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002451/0.3285, allocations: 81.89 kB / 1.245 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.3285, allocations: 5.25 kB / 1.245 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3285, allocations: 8.016 kB / 1.245 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.3285, allocations: 0 / 1.245 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.3286, allocations: 19.92 kB / 1.245 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.3286, allocations: 0 / 1.245 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.089e-05/0.3287, allocations: 7.984 kB / 1.245 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.3287, allocations: 4 kB / 1.245 GB, free: 5.863 MB / 0.9981 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.847e-05/0.3288, allocations: 113.8 kB / 1.246 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.3288, allocations: 7.953 kB / 1.246 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.308e-05/0.3289, allocations: 7.531 kB / 1.246 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3289, allocations: 0 / 1.246 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3289, allocations: 0 / 1.246 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3289, allocations: 3.984 kB / 1.246 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.3291, allocations: 169.6 kB / 1.246 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3291, allocations: 0 / 1.246 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.686e-05/0.3292, allocations: 11.98 kB / 1.246 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.3292, allocations: 0 / 1.246 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.3292, allocations: 0 / 1.246 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3292, allocations: 0 / 1.246 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3292, allocations: 0 / 1.246 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.3295, allocations: 183.4 kB / 1.246 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.3295, allocations: 81.06 kB / 1.246 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.3296, allocations: 4 kB / 1.246 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.139e-05/0.3297, allocations: 7.984 kB / 1.246 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.3297, allocations: 11.97 kB / 1.246 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.3297, allocations: 0 / 1.246 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.223e-05/0.3298, allocations: 83.22 kB / 1.246 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3298, allocations: 4 kB / 1.246 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000213/0.33, allocations: 4 kB / 1.246 GB, free: 5.09 MB / 0.9981 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.000586/0.3306, allocations: 0.709 MB / 1.247 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002596/0.3308, allocations: 55.88 kB / 1.247 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3308, allocations: 0 / 1.247 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.331, allocations: 28.08 kB / 1.247 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.3312, allocations: 11.92 kB / 1.247 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/0.3317, allocations: 147.1 kB / 1.247 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.332, allocations: 0.6768 MB / 1.248 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.111e-05/0.332, allocations: 4 kB / 1.248 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.3321, allocations: 11.5 kB / 1.248 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.3321, allocations: 0 / 1.248 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2497/0.5818, allocations: 1.457 MB / 1.249 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.69, allocations: 6.891 kB / 1.249 GB, free: 1.988 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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