Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 112.2 kB / 16.42 MB, free: 6.473 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.00172/0.00172, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.387/1.387, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.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.216/2.216, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 67.89 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8977/0.8993, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002433/0.9018, allocations: 1.435 MB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006879/0.9025, allocations: 392.3 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.83e-05/0.9025, allocations: 0 / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.763e-05/0.9026, allocations: 4.594 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.983e-05/0.9026, allocations: 5.031 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.9031, allocations: 117 kB / 1.091 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.954e-05/0.9032, allocations: 22.14 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.814e-05/0.9033, allocations: 8.422 kB / 1.091 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.588e-05/0.9033, allocations: 8.078 kB / 1.091 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.085e-05/0.9034, allocations: 10.45 kB / 1.091 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.9034, allocations: 2.719 kB / 1.091 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004692/0.9039, allocations: 279.4 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.9039, allocations: 5.312 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.9039, allocations: 23.41 kB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.9042, allocations: 99.08 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.9042, allocations: 1.312 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9042, allocations: 3.938 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.9042, allocations: 0 / 1.091 GB, free: 4.066 MB / 0.8575 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.0004696/0.9047, allocations: 364.3 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.9047, allocations: 8.75 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.001e-05/0.9048, allocations: 7.875 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.365e-05/0.9049, allocations: 167.3 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.9049, allocations: 5.812 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.9049, allocations: 1.125 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.9051, allocations: 49.59 kB / 1.092 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.9052, allocations: 0.9375 kB / 1.092 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.9052, allocations: 3.938 kB / 1.092 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.9052, allocations: 5.656 kB / 1.092 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.9054, allocations: 32.36 kB / 1.092 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.9057, allocations: 257.5 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.9058, allocations: 41.02 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.292e-05/0.906, allocations: 23.55 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006318/0.9066, allocations: 459.6 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.9066, allocations: 36.45 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.9066, allocations: 0 / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004139/0.907, allocations: 89.3 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.693e-05/0.9071, allocations: 52.69 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.338e-05/0.9071, allocations: 104.1 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.245e-06/0.9072, allocations: 25.7 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.9072, allocations: 87.03 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.9072, allocations: 10.69 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.9073, allocations: 12.84 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.277e-05/0.9073, allocations: 322.2 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.723e-05/0.9074, allocations: 13.73 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.028e-05/0.9075, allocations: 17.97 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.9077, allocations: 41.61 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.9077, allocations: 1.266 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002256/0.9079, allocations: 83.8 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.9079, allocations: 5.406 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.9079, allocations: 1 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.908, allocations: 0.7969 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.187e-05/0.9081, allocations: 8.516 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.9081, allocations: 1.391 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.9081, allocations: 6.156 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.9081, allocations: 0.5156 kB / 1.093 GB, free: 1.852 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 5.026e-05/0.9082, allocations: 112.5 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.9082, allocations: 10.7 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.9085, allocations: 76.73 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.9085, allocations: 0 / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.9085, allocations: 1.547 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.729e-05/0.9085, allocations: 78.5 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.9086, allocations: 4.812 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.658e-05/0.9086, allocations: 6.484 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.9087, allocations: 2.422 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002324/0.9089, allocations: 151.6 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002322/0.9092, allocations: 244 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.999e-05/0.9093, allocations: 14.94 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.551e-05/0.9093, allocations: 86.2 kB / 1.094 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of Backend: time 3.91e-07/0.9093, allocations: 0.9375 kB / 1.094 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005344/0.9098, allocations: 135.7 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004233/0.9103, allocations: 0.562 MB / 1.095 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of Templates: time 0.004585/0.9149, allocations: 1.405 MB / 1.096 GB, free: 16.39 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches