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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.007035/0.007034, allocations: 97.23 kB / 15.73 MB, free: 6 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.001805/0.001805, allocations: 189.3 kB / 16.67 MB, free: 5.93 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.657/2.657, allocations: 482.6 MB / 0.755 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 67.89 kB / 1.083 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2701, allocations: 162.3 MB / 1.242 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001564/0.2717, allocations: 0.6789 MB / 1.243 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000767/0.2724, allocations: 0.7806 MB / 1.243 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.63e-05/0.2725, allocations: 4 kB / 1.243 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2e-05/0.2725, allocations: 3.984 kB / 1.243 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.219e-05/0.2726, allocations: 3.938 kB / 1.243 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001038/0.2727, allocations: 4 kB / 1.243 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.822e-05/0.2727, allocations: 31.92 kB / 1.243 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.491e-05/0.2728, allocations: 0 / 1.243 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.776e-05/0.2729, allocations: 15.92 kB / 1.243 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.954e-05/0.2729, allocations: 15.97 kB / 1.243 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.2729, allocations: 0 / 1.243 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.683e-06/0.2729, allocations: 4 kB / 1.243 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.307e-05/0.273, allocations: 3.938 kB / 1.243 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.273, allocations: 8 kB / 1.243 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 6.707e-05/0.2731, allocations: 23.84 kB / 1.243 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2731, allocations: 0 / 1.243 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2731, allocations: 4 kB / 1.243 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.2731, allocations: 0 / 1.243 GB, free: 8.176 MB / 0.9981 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.0003762/0.2735, allocations: 335.5 kB / 1.244 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.2735, allocations: 12.03 kB / 1.244 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.619e-05/0.2735, allocations: 34.73 kB / 1.244 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.717e-05/0.2736, allocations: 0.9375 kB / 1.244 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.2737, allocations: 172.3 kB / 1.244 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.2737, allocations: 384 / 1.244 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.2737, allocations: 8.375 kB / 1.244 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.2739, allocations: 46.23 kB / 1.244 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2739, allocations: 7.922 kB / 1.244 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.2739, allocations: 4 kB / 1.244 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.2739, allocations: 0 / 1.244 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.2741, allocations: 39.89 kB / 1.244 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002827/0.2744, allocations: 245 kB / 1.244 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.2745, allocations: 38.5 kB / 1.244 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.338e-05/0.2746, allocations: 28.83 kB / 1.244 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.2746, allocations: 0 / 1.244 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.2746, allocations: 30.56 kB / 1.244 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.2746, allocations: 0 / 1.244 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003132/0.2749, allocations: 89.58 kB / 1.245 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.275, allocations: 51.41 kB / 1.245 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.298e-05/0.2751, allocations: 101.8 kB / 1.245 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.2751, allocations: 25.7 kB / 1.245 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/0.2751, allocations: 80.14 kB / 1.245 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.2751, allocations: 11.94 kB / 1.245 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.2752, allocations: 17.84 kB / 1.245 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.2753, allocations: 314.8 kB / 1.245 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-05/0.2754, allocations: 15.98 kB / 1.245 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.778e-05/0.2755, allocations: 11.98 kB / 1.245 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.2756, allocations: 48.81 kB / 1.245 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.2756, allocations: 3.938 kB / 1.245 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001844/0.2758, allocations: 69.61 kB / 1.245 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.2758, allocations: 4 kB / 1.245 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.2758, allocations: 0 / 1.245 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.2758, allocations: 0 / 1.245 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.629e-05/0.2759, allocations: 12 kB / 1.245 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.2759, allocations: 0 / 1.245 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.707e-05/0.276, allocations: 12.02 kB / 1.245 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.276, allocations: 0 / 1.245 GB, free: 6.105 MB / 0.9981 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.659e-05/0.2761, allocations: 109.8 kB / 1.245 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.2761, allocations: 4 kB / 1.245 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.2763, allocations: 76.7 kB / 1.245 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2763, allocations: 0 / 1.245 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.2763, allocations: 0 / 1.245 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.2763, allocations: 4.031 kB / 1.245 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.2765, allocations: 165.6 kB / 1.246 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.2765, allocations: 0 / 1.246 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.171e-05/0.2766, allocations: 7.984 kB / 1.246 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.2766, allocations: 0 / 1.246 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.2766, allocations: 4 kB / 1.246 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.2766, allocations: 4 kB / 1.246 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2766, allocations: 3.938 kB / 1.246 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.2768, allocations: 171.4 kB / 1.246 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.2769, allocations: 81.06 kB / 1.246 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.2769, allocations: 0 / 1.246 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.277, allocations: 7.984 kB / 1.246 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.277, allocations: 0 / 1.246 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.277, allocations: 0 / 1.246 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.103e-05/0.2771, allocations: 83.27 kB / 1.246 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2771, allocations: 4.031 kB / 1.246 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002027/0.2773, allocations: 8 kB / 1.246 GB, free: 5.285 MB / 0.9981 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.0005218/0.2778, allocations: 0.6976 MB / 1.247 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001865/0.278, allocations: 39.94 kB / 1.247 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.278, allocations: 0 / 1.247 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.166e-05/0.2781, allocations: 19.97 kB / 1.247 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.2783, allocations: 9.25 kB / 1.247 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.2787, allocations: 142.4 kB / 1.247 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.2789, allocations: 0.6807 MB / 1.247 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.769e-05/0.279, allocations: 0 / 1.247 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.279, allocations: 7.438 kB / 1.248 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.279, allocations: 0 / 1.248 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.83/4.109, allocations: 1.288 MB / 1.249 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.5/24.61, allocations: 3.141 kB / 1.249 GB, free: 2.395 MB / 0.9981 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=400 --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