Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_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.00782/0.00782, allocations: 102.3 kB / 15.73 MB, free: 5.578 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: 196.1 kB / 16.67 MB, free: 5.52 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.373/1.373, allocations: 222.9 MB / 240.4 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.159/2.159, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7888/0.7901, allocations: 140.4 MB / 1.088 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001627/0.7917, allocations: 0.5723 MB / 1.088 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005671/0.7923, allocations: 327.5 kB / 1.088 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.382e-05/0.7923, allocations: 0 / 1.088 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.204e-05/0.7924, allocations: 4 kB / 1.088 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.7924, allocations: 0 / 1.088 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004245/0.7928, allocations: 110 kB / 1.088 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.112e-05/0.7929, allocations: 1.094 kB / 1.088 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.329e-05/0.7929, allocations: 6.875 kB / 1.089 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.229e-05/0.7929, allocations: 3.938 kB / 1.089 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.325e-05/0.7929, allocations: 2.047 kB / 1.089 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.318e-06/0.793, allocations: 3.938 kB / 1.089 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004572/0.7934, allocations: 277 kB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.7934, allocations: 0 / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.593e-05/0.7935, allocations: 1.219 kB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.7937, allocations: 82.81 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.7937, allocations: 1.094 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7937, allocations: 3.938 kB / 1.089 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.7937, allocations: 0 / 1.089 GB, free: 4.453 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000258/0.794, allocations: 332.6 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.794, allocations: 9.5 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.402e-05/0.794, allocations: 31.31 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.7941, allocations: 6.25 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.022e-05/0.7942, allocations: 169.7 kB / 1.089 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.7942, allocations: 1.562 kB / 1.089 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.7942, allocations: 384 / 1.089 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.345e-05/0.7943, allocations: 29.09 kB / 1.089 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.7943, allocations: 8.641 kB / 1.089 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.7943, allocations: 0 / 1.089 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.7943, allocations: 0.6562 kB / 1.089 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.089e-05/0.7943, allocations: 6.172 kB / 1.089 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.8e-05/0.7944, allocations: 148.6 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.329e-05/0.7945, allocations: 20.8 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.316e-05/0.7945, allocations: 10.52 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003861/0.7949, allocations: 426 kB / 1.09 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.7949, allocations: 35.22 kB / 1.09 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.7949, allocations: 1.188 kB / 1.09 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001518/0.7951, allocations: 40.08 kB / 1.09 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.908e-05/0.7951, allocations: 51.41 kB / 1.09 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.811e-05/0.7951, allocations: 90.38 kB / 1.09 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.7951, allocations: 27.36 kB / 1.09 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.063e-05/0.7952, allocations: 80.14 kB / 1.09 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.7952, allocations: 4.922 kB / 1.09 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/0.7952, allocations: 15.28 kB / 1.09 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.49e-05/0.7953, allocations: 313.3 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.032e-05/0.7953, allocations: 1.5 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-06/0.7953, allocations: 0.75 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.902e-05/0.7953, allocations: 7.953 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7953, allocations: 0 / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.877e-05/0.7954, allocations: 37.69 kB / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.7954, allocations: 11.7 kB / 1.091 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.7954, allocations: 3.938 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.7954, allocations: 0.9062 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.861e-05/0.7955, allocations: 1.953 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.7955, allocations: 1.344 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.057e-05/0.7955, allocations: 4 kB / 1.091 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.7955, allocations: 1.062 kB / 1.091 GB, free: 2.352 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 (1): * Single equations (assignments): 1 * 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 4.739e-05/0.7956, allocations: 107.5 kB / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.7956, allocations: 1.812 kB / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.201e-05/0.7957, allocations: 54.55 kB / 1.091 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.7957, allocations: 0.6094 kB / 1.091 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.7957, allocations: 0 / 1.091 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.7957, allocations: 1.188 kB / 1.091 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.7958, allocations: 148.6 kB / 1.091 GB, free: 18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.7958, allocations: 4.75 kB / 1.091 GB, free: 17.99 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.275e-05/0.7959, allocations: 2.094 kB / 1.091 GB, free: 17.99 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.7959, allocations: 0 / 1.091 GB, free: 17.99 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.7959, allocations: 9.562 kB / 1.091 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.7959, allocations: 4 kB / 1.091 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.7959, allocations: 0.6562 kB / 1.091 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.056e-05/0.796, allocations: 57.83 kB / 1.091 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/0.796, allocations: 77.91 kB / 1.091 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.796, allocations: 10.11 kB / 1.091 GB, free: 17.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-06/0.796, allocations: 0 / 1.091 GB, free: 17.81 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.051e-05/0.7961, allocations: 5.719 kB / 1.091 GB, free: 17.81 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.7961, allocations: 4.031 kB / 1.091 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 2.398e-05/0.7961, allocations: 76.38 kB / 1.091 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7961, allocations: 0 / 1.091 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002037/0.7963, allocations: 9.219 kB / 1.091 GB, free: 17.73 MB / 0.8731 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 (1): * Single equations (assignments): 1 * 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.0003987/0.7967, allocations: 0.6114 MB / 1.092 GB, free: 17.12 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.124e-05/0.7968, allocations: 3.672 kB / 1.092 GB, free: 17.12 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.7968, allocations: 5.062 kB / 1.092 GB, free: 17.12 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.765e-06/0.7968, allocations: 3.297 kB / 1.092 GB, free: 17.12 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.7969, allocations: 0 / 1.092 GB, free: 17.12 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/0.7972, allocations: 113.6 kB / 1.092 GB, free: 16.98 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.7974, allocations: 0.672 MB / 1.093 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.809e-05/0.7975, allocations: 9.266 kB / 1.093 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.634e-05/0.7975, allocations: 8.047 kB / 1.093 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.7975, allocations: 0 / 1.093 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.8134, allocations: 1.171 MB / 1.094 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.406/8.22, allocations: 15.56 kB / 1.094 GB, free: 15.91 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches