Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Exp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",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.001051/0.001051, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 195.5 kB / 16.53 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.247/1.247, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.501/2.501, allocations: 461.9 MB / 0.7347 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 68.14 kB / 0.8992 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2364, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001669/0.2381, allocations: 0.6752 MB / 1.054 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006587/0.2388, allocations: 0.8001 MB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.2388, allocations: 4 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.222e-05/0.2388, allocations: 3.938 kB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.484e-05/0.2389, allocations: 0 / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001042/0.239, allocations: 11.97 kB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.35e-05/0.2391, allocations: 23.94 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.604e-05/0.2391, allocations: 7.984 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.821e-05/0.2392, allocations: 11.94 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.111e-05/0.2392, allocations: 11.98 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.2393, allocations: 0 / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.218e-06/0.2393, allocations: 4 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.2393, allocations: 3.938 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.2393, allocations: 8 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.105e-05/0.2394, allocations: 27.88 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2394, allocations: 0 / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.605e-06/0.2394, allocations: 0 / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.2394, allocations: 3.938 kB / 1.054 GB, free: 6.656 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.0003487/0.2398, allocations: 339.8 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.2398, allocations: 12.62 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.397e-05/0.2398, allocations: 30.75 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.908e-05/0.2398, allocations: 4.844 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.384e-05/0.2399, allocations: 164.4 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.2399, allocations: 4.375 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.24, allocations: 4.375 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.2401, allocations: 50.23 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.2401, allocations: 3.938 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.2401, allocations: 4 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2401, allocations: 0 / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.2403, allocations: 43.83 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002404/0.2405, allocations: 241 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.2407, allocations: 42.5 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.986e-05/0.2408, allocations: 20.89 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.2408, allocations: 4 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.2408, allocations: 30.56 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.2408, allocations: 0 / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003043/0.2411, allocations: 93.52 kB / 1.056 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.2411, allocations: 51.41 kB / 1.056 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.459e-05/0.2412, allocations: 101.8 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.2412, allocations: 25.7 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.037e-05/0.2413, allocations: 84.12 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.2413, allocations: 11.91 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.2413, allocations: 9.719 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.539e-05/0.2414, allocations: 315 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.676e-05/0.2415, allocations: 19.98 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.586e-05/0.2415, allocations: 15.97 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.2417, allocations: 40.77 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2417, allocations: 3.938 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001708/0.2419, allocations: 73.62 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.2419, allocations: 4 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.2419, allocations: 0 / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.138e-06/0.2419, allocations: 0 / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-05/0.242, allocations: 15.98 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.242, allocations: 0 / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.298e-05/0.242, allocations: 4 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.2421, allocations: 4.031 kB / 1.056 GB, free: 4.586 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.249e-05/0.2421, allocations: 109.8 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.2421, allocations: 7.984 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.2423, allocations: 72.72 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2423, allocations: 0 / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.2424, allocations: 0 / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.2424, allocations: 0 / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.2425, allocations: 161.6 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2425, allocations: 4 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.349e-05/0.2426, allocations: 7.984 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2426, allocations: 3.938 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.2426, allocations: 0 / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2426, allocations: 0 / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2426, allocations: 4 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.2428, allocations: 167.4 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.811e-05/0.2428, allocations: 89.02 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.2428, allocations: 3.984 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.899e-05/0.2429, allocations: 4 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.2429, allocations: 0 / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.243, allocations: 0 / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.887e-05/0.243, allocations: 83.27 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.243, allocations: 0 / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000203/0.2432, allocations: 15.97 kB / 1.057 GB, free: 3.77 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.0004233/0.2436, allocations: 0.6967 MB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001751/0.2438, allocations: 43.92 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2438, allocations: 0 / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.389e-05/0.2439, allocations: 15.98 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.2441, allocations: 4.781 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.2445, allocations: 131.3 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001695/0.2446, allocations: 0.6808 MB / 1.058 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.677e-05/0.2447, allocations: 0 / 1.058 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.2447, allocations: 7.438 kB / 1.058 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.2447, allocations: 0 / 1.058 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.272/2.517, allocations: 1.243 MB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/14.57, allocations: 5.844 kB / 1.06 GB, free: 0.918 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches