Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.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.Sin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.0007189/0.0007191, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004966/0.004966, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.346/1.346, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.627/2.627, allocations: 462.7 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003417, allocations: 11.69 kB / 0.9029 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3166, allocations: 159.6 MB / 1.059 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.0008618/0.3175, allocations: 412.4 kB / 1.059 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009369/0.3185, allocations: 0.8079 MB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.118e-05/0.3185, allocations: 0 / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.3186, allocations: 0 / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.629e-05/0.3186, allocations: 3.938 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.3188, allocations: 15.98 kB / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.976e-05/0.3189, allocations: 23.92 kB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.161e-05/0.319, allocations: 4 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.469e-05/0.319, allocations: 15.92 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.68e-05/0.3191, allocations: 3.984 kB / 1.06 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.3191, allocations: 4 kB / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/0.3191, allocations: 0 / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.3191, allocations: 3.938 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.3192, allocations: 37.64 kB / 1.06 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.544e-05/0.3192, allocations: 11.97 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3193, allocations: 4 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.816e-06/0.3193, allocations: 3.984 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.3193, allocations: 0 / 1.06 GB, free: 3.488 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.0003985/0.3197, allocations: 335.8 kB / 1.06 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.3197, allocations: 11.97 kB / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.356e-05/0.3198, allocations: 34.73 kB / 1.06 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.372e-05/0.3198, allocations: 4.938 kB / 1.06 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.3199, allocations: 172.3 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3199, allocations: 4.375 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.32, allocations: 4.375 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.3201, allocations: 58.17 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.3202, allocations: 3.938 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3202, allocations: 0 / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3202, allocations: 3.938 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.3204, allocations: 51.94 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.3207, allocations: 241 kB / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.3208, allocations: 50.44 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.18e-05/0.3209, allocations: 28.89 kB / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.321, allocations: 0 / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.321, allocations: 30.56 kB / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.321, allocations: 4 kB / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003577/0.3214, allocations: 97.64 kB / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.3214, allocations: 55.53 kB / 1.061 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.254e-05/0.3215, allocations: 101.8 kB / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.3215, allocations: 25.7 kB / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.3216, allocations: 88.08 kB / 1.061 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.3216, allocations: 11.89 kB / 1.061 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.288e-05/0.3216, allocations: 9.719 kB / 1.061 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.469e-05/0.3217, allocations: 310.8 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.677e-05/0.3218, allocations: 27.98 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.574e-05/0.3219, allocations: 15.98 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.3221, allocations: 56.88 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3221, allocations: 3.938 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002028/0.3223, allocations: 69.67 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3223, allocations: 7.984 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3223, allocations: 4.031 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3223, allocations: 0 / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.175e-05/0.3224, allocations: 11.94 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.3224, allocations: 0 / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.262e-05/0.3225, allocations: 19.89 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-06/0.3225, allocations: 0 / 1.062 GB, free: 1.336 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 6.693e-05/0.3226, allocations: 117.8 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.3226, allocations: 0 / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.3229, allocations: 84.77 kB / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3229, allocations: 0 / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.3229, allocations: 0 / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3229, allocations: 4.031 kB / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.323, allocations: 157.6 kB / 1.062 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.323, allocations: 0 / 1.062 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.514e-05/0.3231, allocations: 19.92 kB / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3231, allocations: 7.938 kB / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.3231, allocations: 0 / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.3231, allocations: 3.984 kB / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3231, allocations: 0 / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.3234, allocations: 171.5 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/0.3234, allocations: 85.05 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.3234, allocations: 4 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.3235, allocations: 12.02 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.3236, allocations: 4 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.3236, allocations: 0 / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.336e-05/0.3236, allocations: 83.27 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3236, allocations: 0 / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000209/0.3238, allocations: 4 kB / 1.063 GB, free: 0.4961 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.0005337/0.3244, allocations: 0.7084 MB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.3246, allocations: 48 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3246, allocations: 3.938 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.162e-05/0.3247, allocations: 27.97 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.325, allocations: 5.875 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003808/0.3254, allocations: 152.6 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.3256, allocations: 0.6731 MB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.298e-05/0.3256, allocations: 0 / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.3256, allocations: 7.438 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.3256, allocations: 0 / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01002/0.3357, allocations: 1.021 MB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/0.3359, allocations: 194.2 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/1.985, allocations: 3.938 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches