Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.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.Controls.OBC.CDL.Reals.Validation.Log10,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log10",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.005216/0.005216, allocations: 98.39 kB / 15.73 MB, free: 5.98 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.001325/0.001326, allocations: 194.4 kB / 16.67 MB, free: 5.91 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.377/2.377, allocations: 437.1 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.89 kB / 1.018 GB, free: 9.82 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7078/0.7092, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.001939/0.7111, allocations: 0.6638 MB / 1.167 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008348/0.712, allocations: 0.8 MB / 1.168 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.038e-05/0.712, allocations: 4 kB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.316e-05/0.7121, allocations: 4 kB / 1.168 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.254e-05/0.7121, allocations: 3.938 kB / 1.168 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001124/0.7123, allocations: 7.984 kB / 1.168 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.902e-05/0.7123, allocations: 31.92 kB / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.408e-05/0.7124, allocations: 3.984 kB / 1.168 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.229e-05/0.7125, allocations: 15.92 kB / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.45e-05/0.7125, allocations: 8 kB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.7125, allocations: 0 / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.758e-06/0.7126, allocations: 4 kB / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.7126, allocations: 7.984 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.422e-05/0.7126, allocations: 11.94 kB / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 6.962e-05/0.7127, allocations: 19.91 kB / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.7127, allocations: 0 / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7127, allocations: 0 / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.7127, allocations: 0 / 1.168 GB, free: 2.156 MB / 0.8887 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.0004076/0.7131, allocations: 335.2 kB / 1.168 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.7132, allocations: 12.62 kB / 1.168 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.089e-05/0.7132, allocations: 30.75 kB / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.867e-05/0.7132, allocations: 4.938 kB / 1.168 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.7133, allocations: 180.2 kB / 1.168 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.7134, allocations: 4.375 kB / 1.168 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.7134, allocations: 4.312 kB / 1.168 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.7135, allocations: 50.23 kB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.7136, allocations: 3.938 kB / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.7136, allocations: 0 / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.7136, allocations: 0 / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.7137, allocations: 35.97 kB / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.714, allocations: 253 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.7142, allocations: 40.88 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.116e-05/0.7143, allocations: 20.91 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.7143, allocations: 4 kB / 1.169 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.7143, allocations: 34.56 kB / 1.169 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 2.384e-06/0.7143, allocations: 7.922 kB / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003198/0.7146, allocations: 77.64 kB / 1.169 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.7147, allocations: 55.41 kB / 1.169 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.037e-05/0.7148, allocations: 109.9 kB / 1.169 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.7148, allocations: 25.7 kB / 1.169 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.595e-05/0.7148, allocations: 80.14 kB / 1.169 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.456e-05/0.7148, allocations: 3.953 kB / 1.169 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.7149, allocations: 17.72 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.715, allocations: 314.8 kB / 1.169 GB, free: 272 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.948e-05/0.7151, allocations: 19.98 kB / 1.169 GB, free: 252 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.904e-05/0.7151, allocations: 15.98 kB / 1.169 GB, free: 236 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.7153, allocations: 40.81 kB / 1.169 GB, free: 192 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.7153, allocations: 3.938 kB / 1.169 GB, free: 188 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001849/0.7155, allocations: 61.62 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.7155, allocations: 8 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.7155, allocations: 96 / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.7155, allocations: 7.938 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.23e-05/0.7156, allocations: 7.984 kB / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.7156, allocations: 4 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.59e-05/0.7157, allocations: 11.98 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.7157, allocations: 4 kB / 1.17 GB, free: 76 kB / 0.8887 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.787e-05/0.7158, allocations: 112 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.7158, allocations: 0 / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.716, allocations: 76.78 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.7161, allocations: 0 / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.7161, allocations: 0 / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.7161, allocations: 0 / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.7162, allocations: 161.6 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7162, allocations: 0 / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.774e-05/0.7163, allocations: 19.86 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.7163, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.7163, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7163, allocations: 4.031 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.7163, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.7166, allocations: 159.5 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.7166, allocations: 89.06 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.7166, allocations: 3.938 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.455e-05/0.7167, allocations: 12.02 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.7168, allocations: 0 / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.7168, allocations: 0 / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.37e-05/0.7168, allocations: 79.28 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7168, allocations: 0 / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002092/0.717, allocations: 4 kB / 1.17 GB, free: 15.27 MB / 0.9044 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.0004962/0.7175, allocations: 0.7045 MB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001865/0.7177, allocations: 35.97 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7177, allocations: 0 / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.76e-05/0.7178, allocations: 15.98 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.7181, allocations: 12.08 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.7184, allocations: 135 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.7187, allocations: 0.6768 MB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.088e-05/0.7187, allocations: 0 / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.7187, allocations: 7.438 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of SimCode: time 4e-07/0.7187, allocations: 0 / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.7342, allocations: 1.277 MB / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.308/8.042, allocations: 13.66 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log10.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches