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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00145/0.00145, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001824/0.001824, allocations: 193.5 kB / 16.14 MB, free: 6.652 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.326/1.326, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.387/2.387, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 67.89 kB / 0.8687 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5098/0.5112, allocations: 151.6 MB / 1.017 GB, free: 2.934 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002357/0.5136, allocations: 1.511 MB / 1.018 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006478/0.5142, allocations: 419.5 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.751e-05/0.5142, allocations: 0 / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.5143, allocations: 0 / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.369e-05/0.5143, allocations: 11.94 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.5146, allocations: 73.97 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.318e-05/0.5146, allocations: 23.92 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.031e-05/0.5147, allocations: 7.984 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.037e-05/0.5147, allocations: 15.92 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.867e-05/0.5148, allocations: 15.88 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.766e-06/0.5148, allocations: 0 / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003199/0.5151, allocations: 275.6 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.5151, allocations: 4 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.354e-05/0.5152, allocations: 15.91 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.5153, allocations: 103.8 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.5153, allocations: 0 / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of FrontEnd: time 9.31e-07/0.5153, allocations: 0 / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.5153, allocations: 0 / 1.019 GB, free: 476 kB / 0.7637 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.0003699/0.5157, allocations: 365.6 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.5158, allocations: 8.031 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.799e-05/0.5158, allocations: 38.75 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.33e-05/0.5158, allocations: 8.922 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.397e-05/0.5159, allocations: 164.3 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-06/0.516, allocations: 4.375 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.516, allocations: 384 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.5161, allocations: 50.19 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.5161, allocations: 3.938 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.5162, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.926e-06/0.5162, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.5163, allocations: 39.95 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002496/0.5166, allocations: 256.8 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.5167, allocations: 42.5 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.031e-05/0.5168, allocations: 20.91 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006078/0.5174, allocations: 465.4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.5174, allocations: 30.56 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.5174, allocations: 4 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003203/0.5178, allocations: 85.58 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.5178, allocations: 51.41 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.337e-05/0.5179, allocations: 105.8 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.5179, allocations: 25.7 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.5179, allocations: 88.27 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.5179, allocations: 11.89 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.518, allocations: 13.72 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.242e-05/0.5181, allocations: 318.8 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.681e-05/0.5181, allocations: 11.98 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.856e-05/0.5182, allocations: 19.98 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.5184, allocations: 41.12 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5184, allocations: 7.938 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001901/0.5186, allocations: 69.61 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.5186, allocations: 4 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.5186, allocations: 0 / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.634e-06/0.5186, allocations: 3.938 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.902e-05/0.5187, allocations: 11.98 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.5187, allocations: 4.031 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.5187, allocations: 7.984 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.5188, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 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 6.137e-05/0.5188, allocations: 114.3 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.5189, allocations: 7.906 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002072/0.5191, allocations: 77.12 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.5191, allocations: 4.031 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.5191, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.5191, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.5192, allocations: 161.6 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.5192, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.585e-05/0.5193, allocations: 11.98 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.5193, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.5193, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5193, allocations: 3.938 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5193, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.5196, allocations: 171.5 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/0.5196, allocations: 77.11 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.968e-06/0.5196, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.243e-05/0.5197, allocations: 11.97 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.5197, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.5197, allocations: 4 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.826e-05/0.5198, allocations: 95.23 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5198, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002231/0.52, allocations: 19.94 kB / 1.022 GB, free: 12.96 MB / 0.7794 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.0004946/0.5205, allocations: 0.7085 MB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001777/0.5207, allocations: 35.95 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.5207, allocations: 0 / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.117e-05/0.5208, allocations: 23.92 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.521, allocations: 6.344 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.5214, allocations: 149.1 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.5216, allocations: 0.677 MB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.319e-05/0.5216, allocations: 4 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.5216, allocations: 11.38 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.5216, allocations: 0 / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5491/1.071, allocations: 1.402 MB / 1.025 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002628/1.071, allocations: 198.3 kB / 1.025 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.905, allocations: 3.938 kB / 1.025 GB, free: 9.691 MB / 0.7794 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=50 --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