Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",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.001598/0.001598, allocations: 108 kB / 15.6 MB, free: 132 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.001764/0.001764, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.574/2.574, allocations: 469.8 MB / 0.7424 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 69.91 kB / 0.9087 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2562, allocations: 159.1 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001751/0.258, allocations: 0.6029 MB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008871/0.2589, allocations: 0.8157 MB / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.89e-05/0.259, allocations: 0 / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.03e-05/0.259, allocations: 7.938 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.579e-05/0.2591, allocations: 3.938 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000108/0.2592, allocations: 4 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.664e-05/0.2592, allocations: 19.92 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.2593, allocations: 4 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.28e-05/0.2594, allocations: 11.94 kB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.63e-05/0.2594, allocations: 11.91 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.2594, allocations: 8 kB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.835e-06/0.2594, allocations: 0 / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.2595, allocations: 0 / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.565e-05/0.2595, allocations: 11.94 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.355e-05/0.2596, allocations: 15.91 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2596, allocations: 0 / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2596, allocations: 0 / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.2596, allocations: 0 / 1.066 GB, free: 12.64 MB / 0.8262 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.0003718/0.26, allocations: 331.7 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.26, allocations: 8.031 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.94e-05/0.26, allocations: 38.75 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.757e-05/0.2601, allocations: 0.9375 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.2602, allocations: 164.4 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.2602, allocations: 384 / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.2602, allocations: 4.375 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.2603, allocations: 38.25 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2603, allocations: 3.938 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-06/0.2603, allocations: 0 / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.2604, allocations: 0 / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.889e-05/0.2604, allocations: 15.94 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.2606, allocations: 153.7 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.109e-05/0.2607, allocations: 30.58 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.982e-05/0.2607, allocations: 8.922 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.2607, allocations: 4 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.2608, allocations: 42.55 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.2608, allocations: 0 / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001869/0.261, allocations: 57.56 kB / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.261, allocations: 51.41 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.715e-05/0.2611, allocations: 101.8 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.2611, allocations: 29.7 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.2611, allocations: 84.14 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.2612, allocations: 4.031 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.2612, allocations: 13.72 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2613, allocations: 322.8 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.036e-05/0.2614, allocations: 4 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.29e-05/0.2614, allocations: 15.92 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.323e-05/0.2615, allocations: 12.86 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.2615, allocations: 3.938 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001047/0.2616, allocations: 53.73 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2616, allocations: 11.94 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2616, allocations: 0 / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.2617, allocations: 0 / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.836e-05/0.2617, allocations: 4 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.2617, allocations: 0 / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.508e-05/0.2618, allocations: 0 / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.2618, allocations: 3.984 kB / 1.067 GB, free: 10.82 MB / 0.8262 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 7.607e-05/0.2619, allocations: 113.9 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.788e-06/0.2619, allocations: 3.938 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.399e-05/0.2619, allocations: 7.125 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.2619, allocations: 0 / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2619, allocations: 0 / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.2619, allocations: 4 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.262, allocations: 153.7 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.262, allocations: 0 / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.392e-05/0.2621, allocations: 7.984 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.2621, allocations: 3.938 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.2621, allocations: 4 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.2621, allocations: 7.938 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2621, allocations: 0 / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.2622, allocations: 69.03 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/0.2623, allocations: 77.11 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.2623, allocations: 7.922 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.777e-05/0.2623, allocations: 4.25 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.2624, allocations: 4.031 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.2624, allocations: 4 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.256e-05/0.2624, allocations: 83.28 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2624, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001634/0.2626, allocations: 4 kB / 1.068 GB, free: 10.18 MB / 0.8262 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.0004302/0.263, allocations: 0.6142 MB / 1.068 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.2631, allocations: 19.92 kB / 1.068 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2631, allocations: 0 / 1.068 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.621e-05/0.2632, allocations: 11.98 kB / 1.068 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.2633, allocations: 3.797 kB / 1.068 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.2636, allocations: 148.3 kB / 1.068 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.2639, allocations: 0.6806 MB / 1.069 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.772e-05/0.2639, allocations: 0 / 1.069 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.264, allocations: 7.438 kB / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.264, allocations: 0 / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.934/2.198, allocations: 1.087 MB / 1.07 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/14.46, allocations: 17.44 kB / 1.07 GB, free: 7.574 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches