Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.RegNonZeroPower,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_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.004327/0.004327, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001191/0.001191, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.576/2.576, allocations: 437.1 MB / 0.7106 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 67.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3162, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002444/0.3187, allocations: 1.445 MB / 1.168 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007229/0.3194, allocations: 383.5 kB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.999e-05/0.3194, allocations: 0 / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.898e-05/0.3195, allocations: 7.875 kB / 1.168 GB, free: 5.453 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.79e-05/0.3195, allocations: 11.92 kB / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.3199, allocations: 107.7 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.462e-05/0.32, allocations: 23.92 kB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.462e-05/0.3201, allocations: 8 kB / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.935e-05/0.3201, allocations: 8 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.08e-05/0.3202, allocations: 15.92 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.3202, allocations: 0 / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003935/0.3206, allocations: 283.6 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.3206, allocations: 7.922 kB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.538e-05/0.3207, allocations: 7.938 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.3209, allocations: 107.9 kB / 1.169 GB, free: 4.883 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3209, allocations: 4 kB / 1.169 GB, free: 4.879 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3209, allocations: 0 / 1.169 GB, free: 4.879 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.3209, allocations: 4 kB / 1.169 GB, free: 4.875 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004781/0.3214, allocations: 375.1 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.3214, allocations: 8.031 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.052e-05/0.3214, allocations: 30.75 kB / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.3215, allocations: 4.938 kB / 1.169 GB, free: 4.406 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.3216, allocations: 164.3 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.3216, allocations: 384 / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.3216, allocations: 4.375 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.3218, allocations: 58.17 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3218, allocations: 3.938 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.3218, allocations: 0 / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3219, allocations: 0 / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.322, allocations: 35.95 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.3223, allocations: 248.9 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.3225, allocations: 50.42 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.814e-05/0.3226, allocations: 28.91 kB / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006888/0.3233, allocations: 465.4 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.3233, allocations: 30.56 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3233, allocations: 0 / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.000354/0.3237, allocations: 81.64 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.3237, allocations: 59.47 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.198e-05/0.3238, allocations: 101.9 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.3238, allocations: 29.69 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.3239, allocations: 84.14 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.3239, allocations: 7.953 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.3239, allocations: 9.719 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3241, allocations: 318.8 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.382e-05/0.3242, allocations: 15.97 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.257e-05/0.3242, allocations: 23.92 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.3244, allocations: 36.83 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3244, allocations: 3.938 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002031/0.3246, allocations: 73.58 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3246, allocations: 12.09 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-06/0.3246, allocations: 0 / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.3247, allocations: 0 / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.533e-05/0.3247, allocations: 7.984 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.3248, allocations: 4 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.355e-05/0.3248, allocations: 7.953 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.3248, allocations: 8.234 kB / 1.171 GB, free: 2.203 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 (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.975e-05/0.3249, allocations: 109.8 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.3249, allocations: 8 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/0.3252, allocations: 73.12 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3252, allocations: 4 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3252, allocations: 4 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3252, allocations: 0 / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.3254, allocations: 161.6 kB / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3254, allocations: 3.938 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/0.3254, allocations: 11.98 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3254, allocations: 4.031 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.3255, allocations: 0 / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3255, allocations: 3.938 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3255, allocations: 0 / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.3257, allocations: 163.5 kB / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.3258, allocations: 85.06 kB / 1.171 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.3258, allocations: 4.031 kB / 1.171 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.043e-05/0.3259, allocations: 7.984 kB / 1.171 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.3259, allocations: 0 / 1.171 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.3259, allocations: 0 / 1.171 GB, free: 1.469 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.534e-05/0.326, allocations: 87.28 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.326, allocations: 0 / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002154/0.3262, allocations: 15.98 kB / 1.172 GB, free: 1.367 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 (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.00061/0.3268, allocations: 0.7118 MB / 1.172 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.327, allocations: 43.95 kB / 1.172 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.327, allocations: 3.938 kB / 1.172 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.456e-05/0.3271, allocations: 24.02 kB / 1.172 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.3274, allocations: 7.938 kB / 1.172 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.3278, allocations: 139 kB / 1.172 GB, free: 388 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.3281, allocations: 0.6768 MB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.043e-05/0.3281, allocations: 0 / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.3282, allocations: 19.42 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.3282, allocations: 4.062 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.755/2.083, allocations: 1.59 MB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/14.34, allocations: 5.828 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches