Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,fileNamePrefix="Buildings_latest_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.000933/0.0009331, allocations: 97.64 kB / 15.36 MB, free: 0.7305 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.0009484/0.0009485, allocations: 172.6 kB / 16.26 MB, free: 6.664 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.323/1.323, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.516/2.516, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003155, allocations: 16.34 kB / 0.9029 GB, free: 36.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2557, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.0006955/0.2564, allocations: 404.5 kB / 1.059 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007108/0.2571, allocations: 0.804 MB / 1.06 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.206e-05/0.2572, allocations: 0 / 1.06 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.126e-05/0.2572, allocations: 0 / 1.06 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.183e-05/0.2573, allocations: 3.938 kB / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000104/0.2574, allocations: 8 kB / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.738e-05/0.2574, allocations: 23.92 kB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.762e-05/0.2575, allocations: 4 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.108e-05/0.2576, allocations: 15.92 kB / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.225e-05/0.2576, allocations: 4 kB / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.2576, allocations: 7.984 kB / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.695e-06/0.2576, allocations: 0 / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.2577, allocations: 7.922 kB / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.541e-05/0.2577, allocations: 33.7 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.436e-05/0.2578, allocations: 19.91 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2578, allocations: 0 / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2578, allocations: 0 / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.2578, allocations: 3.938 kB / 1.06 GB, free: 3.523 MB / 0.8106 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.0003539/0.2582, allocations: 339.8 kB / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.2582, allocations: 11.97 kB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.91e-05/0.2582, allocations: 30.75 kB / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.051e-05/0.2583, allocations: 8.922 kB / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.585e-05/0.2584, allocations: 168.3 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.2584, allocations: 384 / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.2584, allocations: 4.375 kB / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.2586, allocations: 66.16 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.2586, allocations: 3.938 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-06/0.2586, allocations: 0 / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.2586, allocations: 0 / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.2588, allocations: 43.91 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002492/0.259, allocations: 249 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.2592, allocations: 46.44 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.86e-05/0.2592, allocations: 28.91 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.2593, allocations: 3.984 kB / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.2593, allocations: 34.56 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2593, allocations: 0 / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003263/0.2596, allocations: 93.66 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.2597, allocations: 55.39 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.961e-05/0.2597, allocations: 101.8 kB / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.2598, allocations: 25.7 kB / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.046e-05/0.2598, allocations: 84.14 kB / 1.061 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.2598, allocations: 12.03 kB / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.2598, allocations: 13.7 kB / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.842e-05/0.2599, allocations: 310.8 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.41e-05/0.26, allocations: 23.98 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.618e-05/0.2601, allocations: 19.98 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.2603, allocations: 52.81 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2603, allocations: 3.938 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001908/0.2605, allocations: 73.73 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.2605, allocations: 5.875 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2605, allocations: 3.984 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.2605, allocations: 0 / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.986e-05/0.2606, allocations: 11.94 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.2606, allocations: 0 / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.576e-05/0.2607, allocations: 23.92 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.2607, allocations: 0 / 1.062 GB, free: 1.375 MB / 0.8106 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 5.674e-05/0.2607, allocations: 113.8 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.2608, allocations: 0 / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.261, allocations: 84.78 kB / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.261, allocations: 3.938 kB / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.261, allocations: 3.984 kB / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.261, allocations: 0 / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.2611, allocations: 161.6 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2612, allocations: 0 / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.522e-05/0.2612, allocations: 15.98 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2612, allocations: 15.91 kB / 1.062 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-06/0.2612, allocations: 0 / 1.062 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2613, allocations: 0 / 1.062 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-06/0.2613, allocations: 0 / 1.062 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.2615, allocations: 175.5 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.956e-05/0.2615, allocations: 81.11 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.218e-06/0.2615, allocations: 0 / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/0.2616, allocations: 7.984 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.2616, allocations: 4 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.2617, allocations: 0 / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.142e-05/0.2617, allocations: 87.44 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2617, allocations: 0 / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002039/0.2619, allocations: 11.97 kB / 1.063 GB, free: 0.5273 MB / 0.8106 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.0004581/0.2624, allocations: 0.7084 MB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001934/0.2626, allocations: 47.97 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2626, allocations: 0 / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.951e-05/0.2627, allocations: 28.06 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.2629, allocations: 4 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.2632, allocations: 142.3 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.2634, allocations: 0.6731 MB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.767e-05/0.2635, allocations: 4.062 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.2635, allocations: 11.42 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.2635, allocations: 4 kB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009512/0.273, allocations: 1.007 MB / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/0.2732, allocations: 207.5 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.5/1.773, allocations: 0 / 1.065 GB, free: 13.67 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log10_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log10.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches