Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002105/0.002105, allocations: 107.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002409/0.002409, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.656/2.656, allocations: 443.5 MB / 0.7287 GB, free: 13.22 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Validation.Asin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 68.14 kB / 1.056 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9297/0.9316, allocations: 160.7 MB / 1.213 GB, free: 3.883 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001967/0.9336, allocations: 0.6733 MB / 1.214 GB, free: 3.383 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.9346, allocations: 0.788 MB / 1.214 GB, free: 2.738 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.668e-05/0.9347, allocations: 0 / 1.214 GB, free: 2.738 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.328e-05/0.9347, allocations: 5 kB / 1.214 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.628e-05/0.9348, allocations: 7.922 kB / 1.214 GB, free: 2.727 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.9349, allocations: 10.08 kB / 1.214 GB, free: 2.719 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.866e-05/0.935, allocations: 21.42 kB / 1.214 GB, free: 2.707 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.617e-05/0.935, allocations: 6.969 kB / 1.214 GB, free: 2.703 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.961e-05/0.9351, allocations: 11.14 kB / 1.214 GB, free: 2.695 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.679e-05/0.9351, allocations: 10.14 kB / 1.214 GB, free: 2.688 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.9352, allocations: 3.094 kB / 1.214 GB, free: 2.688 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.704e-06/0.9352, allocations: 1.094 kB / 1.214 GB, free: 2.688 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.9352, allocations: 5.188 kB / 1.214 GB, free: 2.684 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.9352, allocations: 6.188 kB / 1.214 GB, free: 2.68 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.523e-05/0.9353, allocations: 34.25 kB / 1.215 GB, free: 2.652 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.9353, allocations: 0 / 1.215 GB, free: 2.652 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9353, allocations: 0 / 1.215 GB, free: 2.652 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.9353, allocations: 1.094 kB / 1.215 GB, free: 2.652 MB / 0.92 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.0004622/0.9358, allocations: 336.4 kB / 1.215 GB, free: 2.285 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.9358, allocations: 10.31 kB / 1.215 GB, free: 2.285 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.676e-05/0.9358, allocations: 30.75 kB / 1.215 GB, free: 2.246 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.598e-05/0.9359, allocations: 10.98 kB / 1.215 GB, free: 2.238 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.936, allocations: 173.3 kB / 1.215 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.936, allocations: 1.5 kB / 1.215 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.936, allocations: 1.438 kB / 1.215 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.9362, allocations: 49.39 kB / 1.215 GB, free: 1.988 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.9362, allocations: 3.938 kB / 1.215 GB, free: 1.984 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.9362, allocations: 0.8438 kB / 1.215 GB, free: 1.984 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.9362, allocations: 0.8438 kB / 1.215 GB, free: 1.984 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.9364, allocations: 34.19 kB / 1.215 GB, free: 1.969 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.9368, allocations: 252.5 kB / 1.215 GB, free: 1.68 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.9369, allocations: 38.88 kB / 1.215 GB, free: 1.645 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.765e-05/0.937, allocations: 22 kB / 1.215 GB, free: 1.629 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.937, allocations: 1.156 kB / 1.215 GB, free: 1.629 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.937, allocations: 43.48 kB / 1.215 GB, free: 1.578 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.937, allocations: 0 / 1.215 GB, free: 1.578 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003584/0.9374, allocations: 84.66 kB / 1.216 GB, free: 1.52 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.9374, allocations: 55.39 kB / 1.216 GB, free: 1.453 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.259e-05/0.9375, allocations: 99.53 kB / 1.216 GB, free: 1.352 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.9375, allocations: 25.7 kB / 1.216 GB, free: 1.32 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.123e-05/0.9376, allocations: 89.08 kB / 1.216 GB, free: 1.23 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.9376, allocations: 5.859 kB / 1.216 GB, free: 1.227 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.9377, allocations: 19.86 kB / 1.216 GB, free: 1.203 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.9378, allocations: 316 kB / 1.216 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.095e-05/0.9379, allocations: 12.45 kB / 1.216 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.703e-05/0.938, allocations: 17.86 kB / 1.216 GB, free: 0.875 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.9381, allocations: 43.72 kB / 1.216 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.9381, allocations: 3.938 kB / 1.216 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001956/0.9383, allocations: 68.28 kB / 1.216 GB, free: 0.793 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.9383, allocations: 9.359 kB / 1.216 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.9383, allocations: 0 / 1.216 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.9383, allocations: 1.031 kB / 1.216 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.04e-05/0.9384, allocations: 10.12 kB / 1.216 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.9384, allocations: 0 / 1.216 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.82e-05/0.9385, allocations: 8.141 kB / 1.216 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.9385, allocations: 0.9375 kB / 1.216 GB, free: 0.7812 MB / 0.92 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 8.538e-05/0.9386, allocations: 115.8 kB / 1.216 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.9386, allocations: 1.312 kB / 1.216 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.9388, allocations: 74.47 kB / 1.216 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.9389, allocations: 5.109 kB / 1.216 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.9389, allocations: 0 / 1.216 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.9389, allocations: 0 / 1.216 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.939, allocations: 157.9 kB / 1.217 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.939, allocations: 1.125 kB / 1.217 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.267e-05/0.9391, allocations: 9.453 kB / 1.217 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.9391, allocations: 1.312 kB / 1.217 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.9391, allocations: 0 / 1.217 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.9391, allocations: 0 / 1.217 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.9391, allocations: 4.969 kB / 1.217 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.9394, allocations: 163 kB / 1.217 GB, free: 240 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.787e-05/0.9394, allocations: 82.03 kB / 1.217 GB, free: 140 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.9394, allocations: 5.125 kB / 1.217 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-05/0.9395, allocations: 11.05 kB / 1.217 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.9395, allocations: 5.156 kB / 1.217 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.9395, allocations: 5.094 kB / 1.217 GB, free: 120 kB / 0.92 GB Notification: Performance of sorting global known variables: time 4.657e-05/0.9396, allocations: 86.7 kB / 1.217 GB, free: 36 kB / 0.92 GB Notification: Performance of sort global known variables: time 7e-08/0.9396, allocations: 0 / 1.217 GB, free: 36 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002154/0.9398, allocations: 3.219 kB / 1.217 GB, free: 36 kB / 0.92 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.0006342/0.9404, allocations: 0.6959 MB / 1.218 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.9406, allocations: 33.16 kB / 1.218 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9406, allocations: 0 / 1.218 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.266e-05/0.9407, allocations: 26.78 kB / 1.218 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.941, allocations: 6.375 kB / 1.218 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004726/0.9415, allocations: 151.7 kB / 1.218 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.9418, allocations: 0.68 MB / 1.219 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.282e-05/0.9418, allocations: 0.8438 kB / 1.219 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.9419, allocations: 13.22 kB / 1.219 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of SimCode: time 5.81e-07/0.9419, allocations: 0 / 1.219 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.9677, allocations: 1.288 MB / 1.22 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.935/8.902, allocations: 7.891 kB / 1.22 GB, free: 13.71 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Asin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Asin.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.973812863230705]