Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007818/0.0007818, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008099/0.0008099, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8857/0.8857, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.688/1.688, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 0.9506 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.372e-05, allocations: 10.22 kB / 0.9506 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001314/0.001338, allocations: 0.66 MB / 0.9512 GB, free: 2.77 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007799/0.002118, allocations: 0.8082 MB / 0.952 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.992e-05/0.002148, allocations: 0 / 0.952 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.547e-05/0.002173, allocations: 7.938 kB / 0.952 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.875e-05/0.002232, allocations: 7.938 kB / 0.952 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.002416, allocations: 15.92 kB / 0.952 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.435e-05/0.00248, allocations: 19.92 kB / 0.9521 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.674e-05/0.002567, allocations: 8 kB / 0.9521 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.845e-05/0.002635, allocations: 11.98 kB / 0.9521 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.592e-05/0.002671, allocations: 15.91 kB / 0.9521 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.002685, allocations: 0 / 0.9521 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.313e-05/0.002728, allocations: 8 kB / 0.9521 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.002743, allocations: 4 kB / 0.9521 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.002768, allocations: 8 kB / 0.9521 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.877e-05/0.002867, allocations: 27.89 kB / 0.9521 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.002869, allocations: 0 / 0.9521 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.383e-06/0.002871, allocations: 0 / 0.9521 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.002874, allocations: 0 / 0.9521 GB, free: 1.816 MB / 0.9011 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.0003179/0.003192, allocations: 266.3 kB / 0.9524 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.003232, allocations: 8.031 kB / 0.9524 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.628e-05/0.003258, allocations: 30.75 kB / 0.9524 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.923e-05/0.003317, allocations: 12.89 kB / 0.9524 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.089e-05/0.003388, allocations: 109.7 kB / 0.9525 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.003398, allocations: 12.31 kB / 0.9526 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-06/0.003405, allocations: 384 / 0.9526 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.003518, allocations: 54.17 kB / 0.9526 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.003525, allocations: 192 / 0.9526 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.003532, allocations: 384 / 0.9526 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.003538, allocations: 4.125 kB / 0.9526 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.419e-05/0.003622, allocations: 35.95 kB / 0.9526 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002526/0.003874, allocations: 212 kB / 0.9528 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.498e-05/0.003949, allocations: 46.53 kB / 0.9529 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.213e-05/0.003992, allocations: 16.91 kB / 0.9529 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.004007, allocations: 0 / 0.9529 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.004024, allocations: 38.5 kB / 0.9529 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.004025, allocations: 0 / 0.9529 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002037/0.004229, allocations: 85.73 kB / 0.953 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.004254, allocations: 51.41 kB / 0.9531 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.478e-05/0.004308, allocations: 101.8 kB / 0.9532 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.004317, allocations: 29.64 kB / 0.9532 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.994e-05/0.004347, allocations: 84.14 kB / 0.9533 GB, free: 480 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.004362, allocations: 7.953 kB / 0.9533 GB, free: 472 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/0.004385, allocations: 9.719 kB / 0.9533 GB, free: 456 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.597e-05/0.004451, allocations: 318.8 kB / 0.9536 GB, free: 128 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/0.004491, allocations: 19.98 kB / 0.9536 GB, free: 108 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.317e-05/0.004524, allocations: 16.02 kB / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.424e-05/0.004598, allocations: 36.83 kB / 0.9537 GB, free: 52 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.004601, allocations: 0 / 0.9537 GB, free: 52 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001129/0.004713, allocations: 77.55 kB / 0.9537 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.004724, allocations: 4 kB / 0.9537 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.004728, allocations: 0 / 0.9537 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.00474, allocations: 4.094 kB / 0.9538 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.049e-05/0.0048, allocations: 15.92 kB / 0.9538 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.004805, allocations: 0 / 0.9538 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.267e-05/0.004828, allocations: 11.92 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.004832, allocations: 0 / 0.9538 GB, free: 15.93 MB / 0.9167 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 5.057e-05/0.004883, allocations: 109.8 kB / 0.9539 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.004895, allocations: 3.938 kB / 0.9539 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.005025, allocations: 76.97 kB / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.005027, allocations: 0 / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.005031, allocations: 0 / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.005034, allocations: 0 / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.79e-05/0.005132, allocations: 124.8 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.005133, allocations: 0 / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.414e-05/0.005157, allocations: 11.98 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.005159, allocations: 7.875 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.005165, allocations: 0 / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.005166, allocations: 0 / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.005167, allocations: 3.938 kB / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.005287, allocations: 159.5 kB / 0.9543 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-06/0.005296, allocations: 12.08 kB / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-06/0.005306, allocations: 0 / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.726e-05/0.005343, allocations: 11.98 kB / 0.9543 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.005376, allocations: 3.984 kB / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.005378, allocations: 0 / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.515e-05/0.005403, allocations: 83.27 kB / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.005403, allocations: 0 / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001395/0.005542, allocations: 8.031 kB / 0.9544 GB, free: 15.25 MB / 0.9167 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.0003025/0.005845, allocations: 0.6928 MB / 0.955 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.005959, allocations: 31.97 kB / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.00596, allocations: 0 / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.136e-05/0.006001, allocations: 28.06 kB / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.006205, allocations: 6.656 kB / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000301/0.006507, allocations: 134.4 kB / 0.9552 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.771e-05/0.006544, allocations: 59.34 kB / 0.9553 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.154e-05/0.006566, allocations: 4 kB / 0.9553 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.43e-05/0.0066, allocations: 12.5 kB / 0.9553 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of SimCode: time 5.81e-07/0.006601, allocations: 0 / 0.9553 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01318/0.01978, allocations: 1.961 MB / 0.9572 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.575/6.594, allocations: 3.25 kB / 0.9572 GB, free: 12.38 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Asin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Asin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.574976895935833]