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.007784/0.007784, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001756/0.001756, allocations: 199.9 kB / 16.68 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.164 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.649/2.649, allocations: 437 MB / 0.7105 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2891, allocations: 151.6 MB / 1.166 GB, free: 7.32 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001906/0.291, allocations: 0.5844 MB / 1.167 GB, free: 6.734 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007749/0.2918, allocations: 335.1 kB / 1.167 GB, free: 6.406 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.697e-05/0.2919, allocations: 0 / 1.167 GB, free: 6.406 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.576e-05/0.2919, allocations: 0 / 1.167 GB, free: 6.406 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.422e-06/0.2919, allocations: 0 / 1.167 GB, free: 6.406 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005615/0.2925, allocations: 107.7 kB / 1.167 GB, free: 6.301 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.201e-05/0.2925, allocations: 0 / 1.167 GB, free: 6.301 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.839e-05/0.2926, allocations: 0 / 1.167 GB, free: 6.301 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.061e-05/0.2926, allocations: 11.98 kB / 1.167 GB, free: 6.289 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.399e-05/0.2926, allocations: 7.938 kB / 1.167 GB, free: 6.281 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.2926, allocations: 0 / 1.167 GB, free: 6.281 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004548/0.2931, allocations: 267.7 kB / 1.167 GB, free: 6.02 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.2931, allocations: 3.984 kB / 1.167 GB, free: 6.016 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.861e-05/0.2931, allocations: 4 kB / 1.167 GB, free: 6.012 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.2934, allocations: 83.86 kB / 1.168 GB, free: 5.93 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2934, allocations: 0 / 1.168 GB, free: 5.93 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2934, allocations: 0 / 1.168 GB, free: 5.93 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2934, allocations: 0 / 1.168 GB, free: 5.93 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.0003783/0.2938, allocations: 335.6 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.2938, allocations: 12.03 kB / 1.168 GB, free: 5.539 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.456e-05/0.2939, allocations: 30.75 kB / 1.168 GB, free: 5.5 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.2939, allocations: 4.875 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.294, allocations: 160.4 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.294, allocations: 384 / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-06/0.2941, allocations: 384 / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.051e-05/0.2942, allocations: 30.27 kB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2942, allocations: 3.938 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.2942, allocations: 3.984 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2942, allocations: 4 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.277e-05/0.2942, allocations: 7.922 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.2944, allocations: 149.7 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.89e-05/0.2944, allocations: 18.52 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/0.2945, allocations: 4.859 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005766/0.295, allocations: 433.6 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.2951, allocations: 34.56 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/0.2951, allocations: 0 / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001914/0.2953, allocations: 41.62 kB / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.2953, allocations: 55.34 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.599e-05/0.2954, allocations: 93.8 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.2954, allocations: 25.7 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/0.2954, allocations: 84.27 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.2955, allocations: 0 / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.2955, allocations: 13.72 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.2956, allocations: 310.8 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042e-05/0.2956, allocations: 0 / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.937e-06/0.2957, allocations: 4 kB / 1.169 GB, free: 3.789 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.084e-05/0.2957, allocations: 12.84 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2957, allocations: 4.062 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.427e-05/0.2958, allocations: 37.61 kB / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.2958, allocations: 4 kB / 1.169 GB, free: 3.723 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.2958, allocations: 3.938 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.2959, allocations: 3.938 kB / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.706e-05/0.2959, allocations: 4 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.2959, allocations: 0 / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.28e-05/0.2959, allocations: 2.812 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.296, allocations: 0 / 1.169 GB, free: 3.711 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 7.978e-05/0.296, allocations: 117.9 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.2961, allocations: 0 / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.2962, allocations: 44.77 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.2962, allocations: 0 / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2962, allocations: 0 / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2962, allocations: 0 / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.2964, allocations: 149.7 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2964, allocations: 3.938 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.601e-05/0.2964, allocations: 0 / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2964, allocations: 4.031 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.2964, allocations: 3.938 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2964, allocations: 7.938 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2964, allocations: 0 / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.2966, allocations: 57.12 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/0.2966, allocations: 77.11 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.2966, allocations: 7.938 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.819e-06/0.2966, allocations: 4.031 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.212e-05/0.2967, allocations: 0 / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.2967, allocations: 0 / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.073e-05/0.2967, allocations: 75.28 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2967, allocations: 0 / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002283/0.2969, allocations: 16 kB / 1.17 GB, free: 3.051 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.0004832/0.2974, allocations: 0.6162 MB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.253e-05/0.2975, allocations: 8 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2975, allocations: 0 / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.225e-05/0.2976, allocations: 4 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.2977, allocations: 0 / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003664/0.2981, allocations: 106.6 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.2985, allocations: 0.6767 MB / 1.171 GB, free: 1.543 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.998e-05/0.2985, allocations: 8.125 kB / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.733e-05/0.2985, allocations: 7.438 kB / 1.171 GB, free: 1.527 MB / 0.92 GB Notification: Performance of SimCode: time 2.71e-07/0.2985, allocations: 0 / 1.171 GB, free: 1.527 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.3172, allocations: 1.192 MB / 1.173 GB, free: 444 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.723/8.04, allocations: 3.953 kB / 1.173 GB, free: 440 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=50 --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