Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001351/0.001351, allocations: 172.7 kB / 15.95 MB, free: 208 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.437/1.437, allocations: 223.3 MB / 240 MB, free: 5.438 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.444/2.444, allocations: 390.9 MB / 0.666 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004443/0.0004445, allocations: 8 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.801/0.8015, allocations: 142.4 MB / 0.9544 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0007141/0.8022, allocations: 344.5 kB / 0.9548 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006057/0.8029, allocations: 321.3 kB / 0.9551 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.283e-05/0.8029, allocations: 1.406 kB / 0.9551 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.087e-05/0.8029, allocations: 0 / 0.9551 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.782e-05/0.803, allocations: 3.938 kB / 0.9551 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.8035, allocations: 77.84 kB / 0.9552 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.742e-05/0.8035, allocations: 20.83 kB / 0.9552 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.8036, allocations: 6.453 kB / 0.9552 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.245e-05/0.8036, allocations: 8.656 kB / 0.9552 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.121e-05/0.8037, allocations: 19.31 kB / 0.9552 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.8038, allocations: 2.125 kB / 0.9552 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004553/0.8042, allocations: 266 kB / 0.9555 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.8042, allocations: 6.219 kB / 0.9555 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.8043, allocations: 32.86 kB / 0.9555 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.8044, allocations: 65.28 kB / 0.9556 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8044, allocations: 0 / 0.9556 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8044, allocations: 0 / 0.9556 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.8044, allocations: 0 / 0.9556 GB, free: 6.891 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003247/0.8048, allocations: 356.2 kB / 0.9559 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.8048, allocations: 13.53 kB / 0.9559 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.621e-05/0.8049, allocations: 6.391 kB / 0.9559 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.554e-05/0.805, allocations: 168.5 kB / 0.9561 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.805, allocations: 10.5 kB / 0.9561 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.805, allocations: 6.656 kB / 0.9561 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.8051, allocations: 43.94 kB / 0.9561 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.8052, allocations: 5.281 kB / 0.9562 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.8052, allocations: 0 / 0.9562 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.8052, allocations: 1.5 kB / 0.9562 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.001e-05/0.8052, allocations: 22.47 kB / 0.9562 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.8054, allocations: 169.8 kB / 0.9563 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.8055, allocations: 62.98 kB / 0.9564 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.812e-05/0.8055, allocations: 21.27 kB / 0.9564 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005761/0.8061, allocations: 469 kB / 0.9569 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.8061, allocations: 31.81 kB / 0.9569 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.8062, allocations: 0 / 0.9569 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.001191/0.8074, allocations: 0.5867 MB / 0.9575 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.8074, allocations: 61.52 kB / 0.9575 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.849e-05/0.8075, allocations: 101.7 kB / 0.9576 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.8075, allocations: 30.7 kB / 0.9577 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.716e-05/0.8075, allocations: 80.14 kB / 0.9577 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.8075, allocations: 41.02 kB / 0.9578 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.8075, allocations: 0 / 0.9578 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.459e-05/0.8076, allocations: 320.1 kB / 0.9581 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.604e-05/0.8076, allocations: 27.45 kB / 0.9581 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.721e-05/0.8077, allocations: 22.95 kB / 0.9581 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.796e-05/0.8077, allocations: 23.44 kB / 0.9581 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.8077, allocations: 0 / 0.9581 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001486/0.8079, allocations: 98.47 kB / 0.9582 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.8079, allocations: 5.531 kB / 0.9582 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.8079, allocations: 0 / 0.9582 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.808, allocations: 1.25 kB / 0.9582 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.8081, allocations: 25.45 kB / 0.9583 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.8081, allocations: 5.328 kB / 0.9583 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.399e-05/0.8081, allocations: 9.062 kB / 0.9583 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.8081, allocations: 3 kB / 0.9583 GB, free: 4.125 MB / 0.7169 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 (13): * Single equations (assignments): 13 * 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.339e-05/0.8082, allocations: 112.7 kB / 0.9584 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.8082, allocations: 6.844 kB / 0.9584 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.8084, allocations: 115.6 kB / 0.9585 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.8084, allocations: 5.75 kB / 0.9585 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.8084, allocations: 0 / 0.9585 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.8084, allocations: 3.953 kB / 0.9585 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003342/0.8088, allocations: 358.1 kB / 0.9589 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.8088, allocations: 0 / 0.9589 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.8089, allocations: 24.42 kB / 0.9589 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.8089, allocations: 0 / 0.9589 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.8089, allocations: 1.281 kB / 0.9589 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.8089, allocations: 5.297 kB / 0.9589 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8089, allocations: 0 / 0.9589 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.8092, allocations: 217.5 kB / 0.9591 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.804e-05/0.8092, allocations: 87.75 kB / 0.9592 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.8092, allocations: 5.75 kB / 0.9592 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.703e-05/0.8093, allocations: 5.031 kB / 0.9592 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.556e-05/0.8094, allocations: 7.578 kB / 0.9592 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.8094, allocations: 7.766 kB / 0.9592 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.268e-05/0.8094, allocations: 77.94 kB / 0.9593 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8094, allocations: 0 / 0.9593 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002993/0.8097, allocations: 40.31 kB / 0.9593 GB, free: 3.168 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002524/0.81, allocations: 155.7 kB / 0.9595 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001582/0.8101, allocations: 53.95 kB / 0.9595 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8101, allocations: 0 / 0.9595 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.516e-05/0.8102, allocations: 36.7 kB / 0.9596 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.8104, allocations: 7.719 kB / 0.9596 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.8108, allocations: 189.7 kB / 0.9597 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.811, allocations: 0.6903 MB / 0.9604 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.346e-05/0.811, allocations: 14.19 kB / 0.9604 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.8111, allocations: 16.62 kB / 0.9604 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of SimCode: time 5.01e-07/0.8111, allocations: 0 / 0.9604 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of Templates: time 0.004185/0.8153, allocations: 1.351 MB / 0.9618 GB, free: 1.445 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches