Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.RegNonZeroPower,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_RegNonZeroPower",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.005156/0.005156, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00122/0.00122, allocations: 199.8 kB / 16.68 MB, free: 5.934 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.674/2.674, allocations: 482.6 MB / 0.7551 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 68.11 kB / 1.083 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6837/0.6856, allocations: 162.3 MB / 1.242 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002294/0.6879, allocations: 1.449 MB / 1.243 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006565/0.6886, allocations: 382.7 kB / 1.244 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.752e-05/0.6886, allocations: 0 / 1.244 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.142e-05/0.6886, allocations: 7.875 kB / 1.244 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.058e-05/0.6887, allocations: 7.938 kB / 1.244 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.6891, allocations: 111.3 kB / 1.244 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.792e-05/0.6892, allocations: 27.92 kB / 1.244 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.379e-05/0.6892, allocations: 11.98 kB / 1.244 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.503e-05/0.6893, allocations: 7.938 kB / 1.244 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.658e-05/0.6893, allocations: 15.92 kB / 1.244 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.6893, allocations: 0 / 1.244 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003851/0.6897, allocations: 279.7 kB / 1.244 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.6897, allocations: 3.984 kB / 1.244 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.29e-05/0.6898, allocations: 11.92 kB / 1.244 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.69, allocations: 111.4 kB / 1.244 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.69, allocations: 0 / 1.244 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.212e-06/0.69, allocations: 4 kB / 1.244 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.69, allocations: 0 / 1.244 GB, free: 14.73 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.0004441/0.6904, allocations: 363.2 kB / 1.245 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.6905, allocations: 8.031 kB / 1.245 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.238e-05/0.6905, allocations: 34.73 kB / 1.245 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.6906, allocations: 8.891 kB / 1.245 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.6907, allocations: 164.3 kB / 1.245 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.6907, allocations: 384 / 1.245 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.6907, allocations: 12.31 kB / 1.245 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.6909, allocations: 54.22 kB / 1.245 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.6909, allocations: 3.938 kB / 1.245 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.6909, allocations: 0 / 1.245 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.6909, allocations: 0 / 1.245 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.6911, allocations: 35.95 kB / 1.245 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.6914, allocations: 252.9 kB / 1.245 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.6915, allocations: 46.42 kB / 1.245 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.652e-05/0.6916, allocations: 26.78 kB / 1.245 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006778/0.6923, allocations: 457.5 kB / 1.246 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.6923, allocations: 38.48 kB / 1.246 GB, free: 13 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.6924, allocations: 0 / 1.246 GB, free: 13 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.00035/0.6927, allocations: 81.75 kB / 1.246 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.6928, allocations: 55.39 kB / 1.246 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.179e-05/0.6928, allocations: 105.8 kB / 1.246 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.6929, allocations: 25.7 kB / 1.246 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.104e-05/0.6929, allocations: 92.12 kB / 1.246 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.6929, allocations: 7.938 kB / 1.246 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.693, allocations: 9.719 kB / 1.246 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.6931, allocations: 318.8 kB / 1.246 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.016e-05/0.6932, allocations: 16.02 kB / 1.246 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.445e-05/0.6933, allocations: 23.91 kB / 1.246 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.6934, allocations: 36.83 kB / 1.246 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.6934, allocations: 3.938 kB / 1.246 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002078/0.6937, allocations: 69.72 kB / 1.246 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.6937, allocations: 8 kB / 1.246 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.6937, allocations: 0 / 1.246 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.6937, allocations: 3.938 kB / 1.246 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.379e-05/0.6938, allocations: 7.984 kB / 1.246 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.6938, allocations: 4 kB / 1.246 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.386e-05/0.6938, allocations: 8 kB / 1.246 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.6938, allocations: 0 / 1.246 GB, free: 12.07 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 (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.487e-05/0.6939, allocations: 114.5 kB / 1.247 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.694, allocations: 11.94 kB / 1.247 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.6942, allocations: 69.19 kB / 1.247 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.6942, allocations: 4 kB / 1.247 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.6942, allocations: 256 / 1.247 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.6942, allocations: 0 / 1.247 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.6944, allocations: 165.6 kB / 1.247 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6944, allocations: 0 / 1.247 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.587e-05/0.6945, allocations: 15.97 kB / 1.247 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.6945, allocations: 0 / 1.247 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.6945, allocations: 0 / 1.247 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.6945, allocations: 3.984 kB / 1.247 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.6945, allocations: 0 / 1.247 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.6947, allocations: 159.5 kB / 1.247 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.6948, allocations: 97.02 kB / 1.247 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.6948, allocations: 0 / 1.247 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-05/0.6949, allocations: 4 kB / 1.247 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.6949, allocations: 3.984 kB / 1.247 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.6949, allocations: 0 / 1.247 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.433e-05/0.695, allocations: 87.28 kB / 1.247 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.695, allocations: 0 / 1.247 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002131/0.6952, allocations: 15.94 kB / 1.247 GB, free: 11.24 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 (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.0005832/0.6958, allocations: 0.7167 MB / 1.248 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000205/0.696, allocations: 39.97 kB / 1.248 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.696, allocations: 4.094 kB / 1.248 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.453e-05/0.6961, allocations: 19.97 kB / 1.248 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.6963, allocations: 7.938 kB / 1.248 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.6967, allocations: 139 kB / 1.248 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.697, allocations: 0.6768 MB / 1.249 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2e-05/0.697, allocations: 0 / 1.249 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.6971, allocations: 19.5 kB / 1.249 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.6971, allocations: 0 / 1.249 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3165/1.014, allocations: 1.597 MB / 1.25 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.125/9.138, allocations: 9.219 kB / 1.25 GB, free: 8.012 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches