Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.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.Asin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",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.0008822/0.0008823, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.00528/0.00528, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.276/1.276, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.503/2.503, allocations: 462.6 MB / 0.7364 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003407, allocations: 17.34 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2561, allocations: 159.6 MB / 1.059 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.0007488/0.2569, allocations: 404.5 kB / 1.059 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008324/0.2578, allocations: 0.7923 MB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.634e-05/0.2578, allocations: 0 / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.269e-05/0.2578, allocations: 0 / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.174e-05/0.2579, allocations: 3.938 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001167/0.258, allocations: 11.98 kB / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.422e-05/0.2581, allocations: 27.92 kB / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.064e-05/0.2582, allocations: 4 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.119e-05/0.2582, allocations: 7.938 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.888e-05/0.2583, allocations: 11.92 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.2583, allocations: 4 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.334e-06/0.2583, allocations: 0 / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.2583, allocations: 3.938 kB / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.2584, allocations: 33.69 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.138e-05/0.2584, allocations: 23.89 kB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2585, allocations: 0 / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2585, allocations: 4 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.2585, allocations: 0 / 1.06 GB, free: 3.477 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.0003653/0.2588, allocations: 343.8 kB / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.2589, allocations: 11.97 kB / 1.06 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.967e-05/0.2589, allocations: 30.75 kB / 1.06 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.084e-05/0.2589, allocations: 4.938 kB / 1.06 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.845e-05/0.259, allocations: 164.3 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.435e-06/0.2591, allocations: 4.375 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.2591, allocations: 4.375 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.2593, allocations: 58.17 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.2593, allocations: 3.938 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.2593, allocations: 4 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2593, allocations: 0 / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.2595, allocations: 47.95 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002866/0.2598, allocations: 240.9 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.2599, allocations: 54.47 kB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.885e-05/0.26, allocations: 28.84 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.26, allocations: 0 / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.721e-05/0.2601, allocations: 30.56 kB / 1.061 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.2601, allocations: 0 / 1.061 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003453/0.2605, allocations: 105.6 kB / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.2605, allocations: 51.41 kB / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.102e-05/0.2606, allocations: 106 kB / 1.061 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.2606, allocations: 25.7 kB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/0.2606, allocations: 84.14 kB / 1.061 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.2607, allocations: 3.906 kB / 1.061 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.2607, allocations: 17.66 kB / 1.061 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.917e-05/0.2608, allocations: 310.8 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.777e-05/0.2609, allocations: 27.97 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.556e-05/0.261, allocations: 19.98 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.2611, allocations: 48.89 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2611, allocations: 7.938 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001969/0.2613, allocations: 73.66 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.2614, allocations: 5.875 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2614, allocations: 0 / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.2614, allocations: 7.969 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.531e-05/0.2615, allocations: 15.98 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.2615, allocations: 3.938 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.115e-05/0.2615, allocations: 11.91 kB / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.2616, allocations: 0 / 1.062 GB, free: 1.324 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.672e-05/0.2616, allocations: 121.8 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.2617, allocations: 0 / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.2619, allocations: 84.78 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2619, allocations: 0 / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.2619, allocations: 0 / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2619, allocations: 0 / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.2621, allocations: 157.6 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.2621, allocations: 7.984 kB / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.461e-05/0.2621, allocations: 8 kB / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.2621, allocations: 4 kB / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.2622, allocations: 0 / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.2622, allocations: 0 / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2622, allocations: 7.875 kB / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.2624, allocations: 171.5 kB / 1.062 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/0.2625, allocations: 85.03 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.2625, allocations: 4 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.2626, allocations: 8 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.2626, allocations: 8.016 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.2626, allocations: 4 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.233e-05/0.2626, allocations: 79.28 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2626, allocations: 0 / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002047/0.2628, allocations: 0 / 1.063 GB, free: 0.4922 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.0005295/0.2634, allocations: 0.7123 MB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002079/0.2636, allocations: 51.98 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2636, allocations: 0 / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.692e-05/0.2637, allocations: 23.98 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.0002577/0.264, allocations: 4 kB / 1.063 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.2643, allocations: 148.6 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.2646, allocations: 0.677 MB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.035e-05/0.2646, allocations: 0 / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.2646, allocations: 11.44 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of SimCode: time 6.71e-07/0.2646, allocations: 0 / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009529/0.2742, allocations: 1.02 MB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/0.2743, allocations: 199.6 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/1.898, allocations: 0 / 1.065 GB, free: 13.62 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Asin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Asin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches