Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_11_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.00524/0.00524, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001356/0.001356, allocations: 187.5 kB / 16.67 MB, free: 5.465 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.606/2.606, allocations: 469.8 MB / 0.7425 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 63.91 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2688, allocations: 159.1 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001494/0.2704, allocations: 0.5798 MB / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005915/0.271, allocations: 332.6 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.31e-05/0.271, allocations: 0 / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.044e-05/0.271, allocations: 0 / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.589e-06/0.271, allocations: 0 / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.2714, allocations: 103.6 kB / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.587e-05/0.2715, allocations: 8 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.009e-05/0.2715, allocations: 4 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.049e-05/0.2715, allocations: 0 / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.844e-05/0.2715, allocations: 3.984 kB / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.484e-06/0.2716, allocations: 0 / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003898/0.2719, allocations: 271.7 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.272, allocations: 3.984 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.52e-05/0.272, allocations: 0 / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.2722, allocations: 87.73 kB / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2722, allocations: 4 kB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2722, allocations: 0 / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.2722, allocations: 0 / 1.222 GB, free: 12.86 MB / 0.9825 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.0003028/0.2725, allocations: 339.2 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.2725, allocations: 12.03 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.735e-05/0.2726, allocations: 30.75 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.2726, allocations: 0.9375 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.2727, allocations: 164.4 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.641e-06/0.2727, allocations: 384 / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.2727, allocations: 4.375 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.613e-05/0.2728, allocations: 38.2 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.2728, allocations: 3.938 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-06/0.2728, allocations: 0 / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.2728, allocations: 0 / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.688e-05/0.2729, allocations: 4 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.273, allocations: 145.7 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 2.846e-05/0.273, allocations: 14.58 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/0.2731, allocations: 12.95 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004605/0.2735, allocations: 425.5 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.2735, allocations: 34.5 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.2736, allocations: 0 / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.000121/0.2737, allocations: 41.64 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.2737, allocations: 51.41 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.135e-05/0.2738, allocations: 93.84 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.2738, allocations: 29.7 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.008e-05/0.2738, allocations: 80.14 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.2739, allocations: 3.938 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.2739, allocations: 9.719 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.274, allocations: 314.8 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.027e-05/0.274, allocations: 16.06 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-06/0.274, allocations: 0 / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.317e-05/0.2741, allocations: 12.8 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.2741, allocations: 0 / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.902e-05/0.2741, allocations: 33.69 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2741, allocations: 8 kB / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2742, allocations: 3.938 kB / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.2742, allocations: 0 / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.868e-05/0.2742, allocations: 0 / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.2742, allocations: 4.094 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.474e-06/0.2742, allocations: 0 / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.2742, allocations: 4 kB / 1.223 GB, free: 10.64 MB / 0.9825 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.859e-05/0.2743, allocations: 113.8 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.2743, allocations: 0 / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.988e-05/0.2744, allocations: 44.69 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.2744, allocations: 0 / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2744, allocations: 7.938 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.2744, allocations: 4.031 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.513e-05/0.2745, allocations: 141.7 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.2745, allocations: 0 / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.411e-05/0.2745, allocations: 7.984 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.2746, allocations: 0 / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.2746, allocations: 3.938 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.2746, allocations: 0 / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.2746, allocations: 3.984 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.528e-05/0.2747, allocations: 65.08 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.2747, allocations: 77.11 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.2747, allocations: 7.922 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.002e-06/0.2747, allocations: 0 / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.095e-05/0.2747, allocations: 0 / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.2747, allocations: 0 / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 2.963e-05/0.2748, allocations: 75.28 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2748, allocations: 4 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001702/0.275, allocations: 8 kB / 1.224 GB, free: 9.988 MB / 0.9825 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.0004044/0.2754, allocations: 0.6168 MB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.556e-05/0.2754, allocations: 11.88 kB / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.2754, allocations: 0 / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.947e-06/0.2755, allocations: 4 kB / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001118/0.2756, allocations: 10.33 kB / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002244/0.2758, allocations: 110.5 kB / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.2761, allocations: 0.6729 MB / 1.225 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.196e-05/0.2761, allocations: 0 / 1.225 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.546e-05/0.2761, allocations: 11.42 kB / 1.225 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.2761, allocations: 0 / 1.225 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.495/2.771, allocations: 1.194 MB / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.917/10.69, allocations: 9.484 kB / 1.227 GB, free: 7.352 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches