Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.00169/0.00169, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 223.2 MB / 239.9 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.433/2.433, allocations: 390.3 MB / 0.6653 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003958, allocations: 8 kB / 0.8145 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9167/0.9171, allocations: 142.3 MB / 0.9535 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0008261/0.918, allocations: 328.2 kB / 0.9538 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005926/0.9186, allocations: 315.6 kB / 0.9541 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.07e-05/0.9187, allocations: 4 kB / 0.9541 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.451e-05/0.9187, allocations: 3.938 kB / 0.9541 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.345e-05/0.9187, allocations: 0 / 0.9541 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.9191, allocations: 69.81 kB / 0.9542 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.037e-05/0.9191, allocations: 6.906 kB / 0.9542 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.6e-05/0.9192, allocations: 0 / 0.9542 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.85e-05/0.9192, allocations: 2.625 kB / 0.9542 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.001e-05/0.9193, allocations: 10 kB / 0.9542 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.9193, allocations: 5.219 kB / 0.9542 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003362/0.9197, allocations: 256 kB / 0.9545 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.668e-06/0.9197, allocations: 4.625 kB / 0.9545 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.894e-05/0.9197, allocations: 27.36 kB / 0.9545 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.9198, allocations: 63.27 kB / 0.9546 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.9198, allocations: 1.562 kB / 0.9546 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.254e-06/0.9198, allocations: 0 / 0.9546 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.9199, allocations: 0 / 0.9546 GB, free: 7.277 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002904/0.9201, allocations: 332.6 kB / 0.9549 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.9202, allocations: 8.25 kB / 0.9549 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/0.9203, allocations: 17.39 kB / 0.9549 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.99e-05/0.9204, allocations: 160.6 kB / 0.9551 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.9204, allocations: 0 / 0.9551 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.9204, allocations: 1.5 kB / 0.9551 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.9205, allocations: 34.59 kB / 0.9551 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.9205, allocations: 0 / 0.9551 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.9205, allocations: 3.984 kB / 0.9551 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.9205, allocations: 5.344 kB / 0.9551 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.404e-05/0.9206, allocations: 10.08 kB / 0.9551 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/0.9207, allocations: 156.2 kB / 0.9553 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.05e-05/0.9208, allocations: 23.2 kB / 0.9553 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006215/0.9214, allocations: 464.5 kB / 0.9557 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.9214, allocations: 31.62 kB / 0.9558 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.9214, allocations: 0 / 0.9558 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005766/0.922, allocations: 248.9 kB / 0.956 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.9221, allocations: 56.84 kB / 0.9561 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.515e-05/0.9221, allocations: 96.17 kB / 0.9561 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.9221, allocations: 27.17 kB / 0.9562 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.648e-05/0.9222, allocations: 84.14 kB / 0.9562 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.9222, allocations: 13.23 kB / 0.9563 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.9222, allocations: 0 / 0.9563 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.912e-05/0.9223, allocations: 316.2 kB / 0.9566 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.9223, allocations: 6.938 kB / 0.9566 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-05/0.9223, allocations: 18.59 kB / 0.9566 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.834e-05/0.9224, allocations: 12.58 kB / 0.9566 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9224, allocations: 5.156 kB / 0.9566 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.176e-05/0.9225, allocations: 49.05 kB / 0.9567 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.9225, allocations: 4.812 kB / 0.9567 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.9225, allocations: 1.281 kB / 0.9567 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.9225, allocations: 0 / 0.9567 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.326e-05/0.9226, allocations: 14.45 kB / 0.9567 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.9226, allocations: 5.156 kB / 0.9567 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.005e-05/0.9227, allocations: 1 kB / 0.9567 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.9227, allocations: 1.438 kB / 0.9567 GB, free: 4.926 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.978e-05/0.9227, allocations: 120.3 kB / 0.9568 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.9228, allocations: 1.531 kB / 0.9568 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.9229, allocations: 59.67 kB / 0.9569 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.9229, allocations: 5.094 kB / 0.9569 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9229, allocations: 0 / 0.9569 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.923, allocations: 1.438 kB / 0.9569 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.497e-05/0.9231, allocations: 160.5 kB / 0.957 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.9231, allocations: 1.094 kB / 0.957 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.902e-05/0.9231, allocations: 4.875 kB / 0.957 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.9231, allocations: 0 / 0.957 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.9232, allocations: 5.375 kB / 0.957 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.9232, allocations: 0 / 0.957 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.9232, allocations: 0 / 0.957 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.9233, allocations: 89.91 kB / 0.9571 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.9234, allocations: 78.48 kB / 0.9572 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.9234, allocations: 1.344 kB / 0.9572 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.522e-05/0.9234, allocations: 0 / 0.9572 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.9235, allocations: 1.922 kB / 0.9572 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.9235, allocations: 2.5 kB / 0.9572 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.431e-05/0.9235, allocations: 80.66 kB / 0.9573 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9235, allocations: 0 / 0.9573 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000231/0.9237, allocations: 27.17 kB / 0.9573 GB, free: 4.262 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002559/0.924, allocations: 123.3 kB / 0.9574 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001032/0.9241, allocations: 18.95 kB / 0.9574 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.9241, allocations: 0 / 0.9574 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.023e-05/0.9241, allocations: 13.94 kB / 0.9574 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.9243, allocations: 5.516 kB / 0.9574 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.9246, allocations: 111.6 kB / 0.9575 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.9248, allocations: 0.6784 MB / 0.9582 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.416e-05/0.9248, allocations: 6.109 kB / 0.9582 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.9248, allocations: 10.22 kB / 0.9582 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.9249, allocations: 0 / 0.9582 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of Templates: time 0.003887/0.9287, allocations: 0.8365 MB / 0.959 GB, free: 2.887 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches