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.001338/0.001339, allocations: 108.4 kB / 16.27 MB, free: 5.984 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.001372/0.001372, allocations: 187.8 kB / 17.2 MB, free: 5.609 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.386/1.386, allocations: 222.9 MB / 240.9 MB, free: 15.25 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.249/2.249, allocations: 390.2 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002075, allocations: 65.78 kB / 0.8132 GB, free: 33.11 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2945, allocations: 140.4 MB / 0.9503 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003012/0.2976, allocations: 1.443 MB / 0.9517 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000796/0.2984, allocations: 381.7 kB / 0.952 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.616e-05/0.2984, allocations: 4 kB / 0.952 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.2985, allocations: 3.938 kB / 0.952 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.158e-05/0.2986, allocations: 3.938 kB / 0.952 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005359/0.2991, allocations: 111.7 kB / 0.9521 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.637e-05/0.2992, allocations: 23.94 kB / 0.9522 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.665e-05/0.2993, allocations: 11.97 kB / 0.9522 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.694e-05/0.2993, allocations: 7.938 kB / 0.9522 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.494e-05/0.2994, allocations: 15.92 kB / 0.9522 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.2994, allocations: 4 kB / 0.9522 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004034/0.2998, allocations: 275.7 kB / 0.9525 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.2998, allocations: 3.984 kB / 0.9525 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.2999, allocations: 11.94 kB / 0.9525 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.3001, allocations: 111.8 kB / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3001, allocations: 0 / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3001, allocations: 0 / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3001, allocations: 0 / 0.9526 GB, free: 6.465 MB / 0.7325 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.0005216/0.3007, allocations: 367.7 kB / 0.9529 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3007, allocations: 8.031 kB / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.89e-05/0.3008, allocations: 8.844 kB / 0.953 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.3009, allocations: 164.4 kB / 0.9531 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.3009, allocations: 4.375 kB / 0.9531 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.301, allocations: 8.375 kB / 0.9531 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.3012, allocations: 58.16 kB / 0.9532 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.3012, allocations: 192 / 0.9532 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.3012, allocations: 3.938 kB / 0.9532 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3012, allocations: 0 / 0.9532 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.3014, allocations: 31.97 kB / 0.9532 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.3018, allocations: 256.9 kB / 0.9535 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.3019, allocations: 38.5 kB / 0.9535 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.597e-05/0.302, allocations: 28.83 kB / 0.9535 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007033/0.3027, allocations: 461.5 kB / 0.954 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.3027, allocations: 30.56 kB / 0.954 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3028, allocations: 0 / 0.954 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0004024/0.3032, allocations: 89.55 kB / 0.9541 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.3032, allocations: 55.34 kB / 0.9541 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.95e-05/0.3033, allocations: 105.8 kB / 0.9542 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.3033, allocations: 25.7 kB / 0.9543 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.3034, allocations: 84.14 kB / 0.9543 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.3034, allocations: 11.84 kB / 0.9544 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.3034, allocations: 13.7 kB / 0.9544 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3036, allocations: 319 kB / 0.9547 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.959e-05/0.3037, allocations: 19.92 kB / 0.9547 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.72e-05/0.3038, allocations: 15.98 kB / 0.9547 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.3039, allocations: 40.81 kB / 0.9547 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3039, allocations: 0 / 0.9547 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002343/0.3042, allocations: 69.67 kB / 0.9548 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3042, allocations: 8 kB / 0.9548 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.3042, allocations: 3.984 kB / 0.9548 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3042, allocations: 0 / 0.9548 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.626e-05/0.3043, allocations: 4 kB / 0.9548 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3043, allocations: 0 / 0.9548 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.3044, allocations: 7.984 kB / 0.9548 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.3044, allocations: 4 kB / 0.9548 GB, free: 3.848 MB / 0.7325 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.447e-05/0.3045, allocations: 123.7 kB / 0.955 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.3045, allocations: 7.906 kB / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.3048, allocations: 69.19 kB / 0.955 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3048, allocations: 3.984 kB / 0.955 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3048, allocations: 4 kB / 0.955 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3048, allocations: 0 / 0.955 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.305, allocations: 157.6 kB / 0.9552 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.305, allocations: 4.031 kB / 0.9552 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.007e-05/0.3051, allocations: 11.98 kB / 0.9552 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3051, allocations: 0 / 0.9552 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.3051, allocations: 256 / 0.9552 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3051, allocations: 4 kB / 0.9552 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3051, allocations: 0 / 0.9552 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.3054, allocations: 171.4 kB / 0.9554 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.3054, allocations: 81.11 kB / 0.9554 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.3055, allocations: 0 / 0.9554 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.792e-05/0.3055, allocations: 11.92 kB / 0.9555 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.3056, allocations: 3.938 kB / 0.9555 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.3056, allocations: 0 / 0.9555 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.773e-05/0.3056, allocations: 87.27 kB / 0.9555 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3057, allocations: 4 kB / 0.9555 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002376/0.3059, allocations: 12 kB / 0.9556 GB, free: 3.004 MB / 0.7325 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.0001962/0.3061, allocations: 119.2 kB / 0.9557 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.3063, allocations: 39.91 kB / 0.9557 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3064, allocations: 0 / 0.9557 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.73e-05/0.3064, allocations: 15.98 kB / 0.9557 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.3067, allocations: 22.19 kB / 0.9557 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.3071, allocations: 135.4 kB / 0.9559 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.3074, allocations: 0.6805 MB / 0.9565 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.3074, allocations: 11.44 kB / 0.9566 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.3074, allocations: 0 / 0.9566 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of Templates: time 0.002221/0.3096, allocations: 0.7009 MB / 0.9572 GB, free: 1.223 MB / 0.7325 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