Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_10_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.006317/0.006316, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001843/0.001843, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.368/2.368, allocations: 437.1 MB / 0.7106 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 67.89 kB / 1.018 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2435, allocations: 151.6 MB / 1.166 GB, free: 7.215 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001504/0.245, allocations: 0.5727 MB / 1.167 GB, free: 6.637 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006027/0.2457, allocations: 331.2 kB / 1.167 GB, free: 6.312 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.366e-05/0.2457, allocations: 4 kB / 1.167 GB, free: 6.309 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.049e-05/0.2457, allocations: 0 / 1.167 GB, free: 6.309 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.629e-06/0.2457, allocations: 0 / 1.167 GB, free: 6.309 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.2461, allocations: 106.6 kB / 1.167 GB, free: 6.207 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 3.258e-05/0.2462, allocations: 3.984 kB / 1.167 GB, free: 6.203 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 2.905e-05/0.2462, allocations: 3.984 kB / 1.167 GB, free: 6.199 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.034e-05/0.2462, allocations: 0 / 1.167 GB, free: 6.199 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.055e-05/0.2463, allocations: 11.94 kB / 1.167 GB, free: 6.188 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.233e-06/0.2463, allocations: 0 / 1.167 GB, free: 6.188 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003874/0.2467, allocations: 271.7 kB / 1.167 GB, free: 5.922 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.628e-06/0.2467, allocations: 4 kB / 1.168 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.256e-05/0.2467, allocations: 0 / 1.168 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.2469, allocations: 92 kB / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2469, allocations: 0 / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2469, allocations: 3.938 kB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.2469, allocations: 0 / 1.168 GB, free: 5.824 MB / 0.92 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.0002977/0.2472, allocations: 335.3 kB / 1.168 GB, free: 5.445 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.2472, allocations: 12.03 kB / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.066e-05/0.2473, allocations: 42.67 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.2473, allocations: 0.9375 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.169e-05/0.2474, allocations: 160.4 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.2474, allocations: 384 / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.2474, allocations: 4.359 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.404e-05/0.2475, allocations: 30.27 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.2475, allocations: 3.938 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.849e-06/0.2475, allocations: 0 / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2475, allocations: 4 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.646e-05/0.2476, allocations: 7.875 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001282/0.2477, allocations: 153.7 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.452e-05/0.2477, allocations: 14.58 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.276e-05/0.2477, allocations: 4.859 kB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004554/0.2482, allocations: 429.6 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.2482, allocations: 30.56 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.2482, allocations: 0 / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001218/0.2484, allocations: 45.53 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.2484, allocations: 55.39 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.608e-05/0.2485, allocations: 89.86 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.2485, allocations: 25.7 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.2485, allocations: 88.27 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.2485, allocations: 0 / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.2486, allocations: 13.72 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2487, allocations: 310.8 kB / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.504e-06/0.2487, allocations: 0 / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.086e-06/0.2487, allocations: 4 kB / 1.169 GB, free: 3.68 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.151e-05/0.2487, allocations: 4.859 kB / 1.169 GB, free: 3.672 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2487, allocations: 64 / 1.169 GB, free: 3.672 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.791e-05/0.2488, allocations: 49.62 kB / 1.169 GB, free: 3.617 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.2488, allocations: 4 kB / 1.169 GB, free: 3.613 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.2488, allocations: 3.938 kB / 1.169 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.2489, allocations: 0 / 1.169 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.323e-05/0.2489, allocations: 4 kB / 1.169 GB, free: 3.605 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.2489, allocations: 0 / 1.169 GB, free: 3.605 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.155e-06/0.2489, allocations: 0 / 1.169 GB, free: 3.605 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.2489, allocations: 4 kB / 1.169 GB, free: 3.602 MB / 0.92 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 6.427e-05/0.249, allocations: 109.9 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.249, allocations: 4 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.5e-05/0.2491, allocations: 44.75 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2491, allocations: 0 / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2491, allocations: 3.938 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.2491, allocations: 0 / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.666e-05/0.2492, allocations: 153.6 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.2492, allocations: 3.938 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.104e-05/0.2492, allocations: 0 / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2492, allocations: 4.031 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.2493, allocations: 3.938 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2493, allocations: 0 / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2493, allocations: 4 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.178e-05/0.2493, allocations: 53.14 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.2494, allocations: 81.09 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.2494, allocations: 7.938 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.102e-06/0.2494, allocations: 0 / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.113e-05/0.2494, allocations: 4.031 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.2494, allocations: 0 / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.233e-05/0.2495, allocations: 75.28 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2495, allocations: 0 / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001759/0.2497, allocations: 11.94 kB / 1.17 GB, free: 2.945 MB / 0.92 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.0003935/0.2501, allocations: 0.6142 MB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 5.425e-05/0.2501, allocations: 4 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2501, allocations: 0 / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.628e-06/0.2501, allocations: 7.922 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001094/0.2503, allocations: 4 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002381/0.2505, allocations: 106.5 kB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.2507, allocations: 0.669 MB / 1.171 GB, free: 1.445 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.452e-05/0.2508, allocations: 8.109 kB / 1.171 GB, free: 1.438 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.277e-05/0.2508, allocations: 11.44 kB / 1.171 GB, free: 1.426 MB / 0.92 GB Notification: Performance of SimCode: time 1.9e-07/0.2508, allocations: 0 / 1.171 GB, free: 1.426 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.505/4.756, allocations: 1.183 MB / 1.173 GB, free: 344 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.586/14.34, allocations: 10.7 kB / 1.173 GB, free: 336 kB / 0.92 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches