Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 117.1 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.978/2.978, allocations: 0.49 GB / 0.7923 GB, free: 1.461 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 71.91 kB / 1.15 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.997/0.9994, allocations: 176.1 MB / 1.322 GB, free: 24.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001843/1.001, allocations: 0.6678 MB / 1.322 GB, free: 24.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007989/1.002, allocations: 0.8232 MB / 1.323 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.638e-05/1.002, allocations: 0 / 1.323 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.462e-05/1.002, allocations: 0 / 1.323 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.256e-05/1.002, allocations: 6.812 kB / 1.323 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/1.002, allocations: 10.22 kB / 1.323 GB, free: 23.72 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.045e-05/1.002, allocations: 28.33 kB / 1.323 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.997e-05/1.003, allocations: 6.469 kB / 1.323 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.129e-05/1.003, allocations: 10.89 kB / 1.323 GB, free: 23.7 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.989e-05/1.003, allocations: 18.45 kB / 1.323 GB, free: 23.69 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/1.003, allocations: 2.562 kB / 1.323 GB, free: 23.69 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.771e-05/1.003, allocations: 2.75 kB / 1.323 GB, free: 23.69 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/1.003, allocations: 6.531 kB / 1.323 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.085e-05/1.003, allocations: 9.688 kB / 1.323 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/1.003, allocations: 21.12 kB / 1.323 GB, free: 23.67 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.003, allocations: 2.594 kB / 1.323 GB, free: 23.67 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.776e-06/1.003, allocations: 3.281 kB / 1.323 GB, free: 23.67 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.871e-06/1.003, allocations: 0 / 1.323 GB, free: 23.67 MB / 1.061 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.000411/1.003, allocations: 347.3 kB / 1.323 GB, free: 23.3 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/1.003, allocations: 12.42 kB / 1.323 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.837e-05/1.003, allocations: 6.781 kB / 1.323 GB, free: 23.29 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.953e-05/1.003, allocations: 30.75 kB / 1.323 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.636e-05/1.003, allocations: 3.344 kB / 1.323 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.489e-05/1.003, allocations: 171.2 kB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/1.003, allocations: 3.062 kB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/1.003, allocations: 384 / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/1.004, allocations: 54.08 kB / 1.324 GB, free: 23.01 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/1.004, allocations: 4 kB / 1.324 GB, free: 23.01 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/1.004, allocations: 3.938 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/1.004, allocations: 6.734 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/1.004, allocations: 30.55 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000261/1.004, allocations: 250.5 kB / 1.324 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/1.004, allocations: 43.7 kB / 1.324 GB, free: 22.68 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.066e-05/1.004, allocations: 23.14 kB / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/1.004, allocations: 2.531 kB / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.131e-05/1.004, allocations: 30.56 kB / 1.324 GB, free: 22.63 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/1.004, allocations: 0 / 1.324 GB, free: 22.63 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003358/1.005, allocations: 90.47 kB / 1.324 GB, free: 22.59 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/1.005, allocations: 51.41 kB / 1.324 GB, free: 22.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.705e-05/1.005, allocations: 95.39 kB / 1.324 GB, free: 22.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/1.005, allocations: 29.7 kB / 1.324 GB, free: 22.39 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.646e-05/1.005, allocations: 83.52 kB / 1.324 GB, free: 22.31 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/1.005, allocations: 7.016 kB / 1.324 GB, free: 22.3 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/1.005, allocations: 9.719 kB / 1.324 GB, free: 22.29 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.034e-05/1.005, allocations: 321.4 kB / 1.325 GB, free: 21.97 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/1.005, allocations: 14.67 kB / 1.325 GB, free: 21.97 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/1.005, allocations: 17.91 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/1.005, allocations: 40.55 kB / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.005, allocations: 0 / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002859/1.006, allocations: 70.5 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/1.006, allocations: 8.469 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/1.006, allocations: 4 kB / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/1.006, allocations: 2.469 kB / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/1.006, allocations: 9.281 kB / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/1.006, allocations: 3.938 kB / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.699e-05/1.006, allocations: 2.938 kB / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/1.006, allocations: 0 / 1.325 GB, free: 21.9 MB / 1.061 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 4.831e-05/1.006, allocations: 124.1 kB / 1.325 GB, free: 21.77 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/1.006, allocations: 6.859 kB / 1.325 GB, free: 21.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/1.006, allocations: 73.45 kB / 1.325 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/1.006, allocations: 0 / 1.325 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/1.006, allocations: 3 kB / 1.325 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/1.006, allocations: 0 / 1.325 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/1.006, allocations: 156 kB / 1.325 GB, free: 21.53 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/1.006, allocations: 4.031 kB / 1.325 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/1.006, allocations: 9.547 kB / 1.325 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/1.006, allocations: 0 / 1.325 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/1.006, allocations: 11.23 kB / 1.325 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.006, allocations: 0 / 1.325 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.006, allocations: 0 / 1.325 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/1.007, allocations: 164.8 kB / 1.325 GB, free: 21.38 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.959e-05/1.007, allocations: 81.05 kB / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/1.007, allocations: 0 / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.355e-05/1.007, allocations: 6.359 kB / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/1.007, allocations: 6.812 kB / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/1.007, allocations: 0 / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.928e-05/1.007, allocations: 81.31 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.007, allocations: 0 / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002071/1.007, allocations: 5.594 kB / 1.326 GB, free: 21.2 MB / 1.061 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.0003716/1.007, allocations: 0.6989 MB / 1.326 GB, free: 20.52 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002776/1.008, allocations: 45.09 kB / 1.326 GB, free: 20.51 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/1.008, allocations: 0 / 1.326 GB, free: 20.51 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.743e-05/1.008, allocations: 18.61 kB / 1.326 GB, free: 20.51 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/1.008, allocations: 8.156 kB / 1.326 GB, free: 20.51 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/1.008, allocations: 134 kB / 1.326 GB, free: 20.37 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.468e-05/1.008, allocations: 0.6748 MB / 1.327 GB, free: 19.67 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.919e-05/1.008, allocations: 10.53 kB / 1.327 GB, free: 19.66 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/1.008, allocations: 11.44 kB / 1.327 GB, free: 19.65 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/1.008, allocations: 0 / 1.327 GB, free: 19.65 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01728/1.026, allocations: 1.33 MB / 1.328 GB, free: 19.26 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.371/9.397, allocations: 9.625 kB / 1.328 GB, free: 19.25 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Asin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Asin.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.985619580023922]