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.0008031/0.0008031, 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.0007858/0.0007858, allocations: 170.3 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.9164/0.9164, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.701/1.701, allocations: 377.8 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 0.981 GB, free: 2.484 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.178e-05, allocations: 2.281 kB / 0.981 GB, free: 2.48 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001591/0.001613, allocations: 0.6748 MB / 0.9817 GB, free: 1.809 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007035/0.002316, allocations: 0.8043 MB / 0.9825 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.844e-05/0.002345, allocations: 4 kB / 0.9825 GB, free: 0.9883 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.423e-05/0.002369, allocations: 3.938 kB / 0.9825 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.338e-05/0.002422, allocations: 7.922 kB / 0.9825 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.002593, allocations: 11.94 kB / 0.9825 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.068e-05/0.002664, allocations: 23.92 kB / 0.9825 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.718e-05/0.002751, allocations: 4 kB / 0.9825 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.785e-05/0.002819, allocations: 19.91 kB / 0.9825 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.358e-05/0.002853, allocations: 15.98 kB / 0.9826 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.002865, allocations: 0 / 0.9826 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.948e-05/0.002905, allocations: 4 kB / 0.9826 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.002917, allocations: 0 / 0.9826 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.002935, allocations: 8 kB / 0.9826 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.57e-05/0.003031, allocations: 39.81 kB / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003033, allocations: 0 / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.183e-06/0.003034, allocations: 0 / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.003037, allocations: 0 / 0.9826 GB, free: 0.8516 MB / 0.9323 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.0003101/0.003347, allocations: 262.3 kB / 0.9829 GB, free: 0.5625 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.003385, allocations: 12.03 kB / 0.9829 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.792e-05/0.003413, allocations: 30.75 kB / 0.9829 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.159e-05/0.003475, allocations: 8.891 kB / 0.9829 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.888e-05/0.003544, allocations: 109.7 kB / 0.983 GB, free: 380 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.003558, allocations: 384 / 0.983 GB, free: 380 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.166e-06/0.003567, allocations: 4.375 kB / 0.983 GB, free: 376 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.003682, allocations: 50.19 kB / 0.9831 GB, free: 320 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.003689, allocations: 4.172 kB / 0.9831 GB, free: 316 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.003697, allocations: 384 / 0.9831 GB, free: 316 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.003703, allocations: 8.109 kB / 0.9831 GB, free: 308 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.31e-05/0.003786, allocations: 35.97 kB / 0.9831 GB, free: 272 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002568/0.004043, allocations: 212.1 kB / 0.9833 GB, free: 16 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 8.629e-05/0.004129, allocations: 38.5 kB / 0.9834 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.377e-05/0.004173, allocations: 20.91 kB / 0.9834 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.004189, allocations: 0 / 0.9834 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.004209, allocations: 38.5 kB / 0.9834 GB, free: 15.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.00421, allocations: 7.938 kB / 0.9834 GB, free: 15.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002023/0.004412, allocations: 81.64 kB / 0.9835 GB, free: 15.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.004439, allocations: 51.41 kB / 0.9835 GB, free: 15.74 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.612e-05/0.004495, allocations: 97.84 kB / 0.9836 GB, free: 15.64 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.004507, allocations: 25.7 kB / 0.9837 GB, free: 15.61 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.004547, allocations: 88.09 kB / 0.9837 GB, free: 15.52 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.004563, allocations: 7.953 kB / 0.9838 GB, free: 15.51 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.004586, allocations: 13.66 kB / 0.9838 GB, free: 15.49 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.792e-05/0.004674, allocations: 327 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.187e-05/0.004716, allocations: 11.98 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.599e-05/0.004752, allocations: 15.98 kB / 0.9841 GB, free: 15.13 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.056e-05/0.004832, allocations: 40.81 kB / 0.9841 GB, free: 15.09 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.004834, allocations: 3.938 kB / 0.9841 GB, free: 15.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001138/0.004948, allocations: 69.67 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.00496, allocations: 4 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.004964, allocations: 0 / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.004977, allocations: 0 / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.775e-05/0.005044, allocations: 11.98 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.005049, allocations: 3.938 kB / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.405e-05/0.005074, allocations: 7.984 kB / 0.9842 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.005078, allocations: 0 / 0.9842 GB, free: 14.98 MB / 0.948 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.548e-05/0.005134, allocations: 117.9 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.005146, allocations: 3.938 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.005271, allocations: 64.97 kB / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.005274, allocations: 4 kB / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.005278, allocations: 0 / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.005282, allocations: 3.984 kB / 0.9844 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.537e-05/0.005377, allocations: 120.8 kB / 0.9845 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.005378, allocations: 0 / 0.9845 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.005403, allocations: 11.98 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.005406, allocations: 7.969 kB / 0.9846 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-06/0.005412, allocations: 4 kB / 0.9846 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.005412, allocations: 0 / 0.9846 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005413, allocations: 0 / 0.9846 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.005551, allocations: 167.4 kB / 0.9847 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.403e-06/0.005557, allocations: 7.938 kB / 0.9847 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-06/0.005566, allocations: 0 / 0.9847 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.671e-05/0.005602, allocations: 7.984 kB / 0.9847 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.005631, allocations: 4.031 kB / 0.9847 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.005633, allocations: 0 / 0.9847 GB, free: 14.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.81e-05/0.005661, allocations: 87.27 kB / 0.9848 GB, free: 14.31 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.005662, allocations: 0 / 0.9848 GB, free: 14.31 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001427/0.005804, allocations: 7.938 kB / 0.9848 GB, free: 14.3 MB / 0.948 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.0003002/0.006104, allocations: 0.6889 MB / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001276/0.006232, allocations: 43.98 kB / 0.9856 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.006234, allocations: 0 / 0.9856 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.891e-05/0.006273, allocations: 15.98 kB / 0.9856 GB, free: 13.53 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.00652, allocations: 10.59 kB / 0.9856 GB, free: 13.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003411/0.006861, allocations: 142.3 kB / 0.9857 GB, free: 13.34 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.415e-05/0.006905, allocations: 59.34 kB / 0.9858 GB, free: 13.27 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.019e-05/0.006926, allocations: 8.125 kB / 0.9858 GB, free: 13.26 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.006962, allocations: 8.828 kB / 0.9858 GB, free: 13.25 MB / 0.948 GB Notification: Performance of SimCode: time 3.5e-07/0.006963, allocations: 0 / 0.9858 GB, free: 13.25 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01334/0.02031, allocations: 1.947 MB / 0.9877 GB, free: 11.43 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.64/6.66, allocations: 9.078 kB / 0.9877 GB, free: 11.43 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.702672210521996]