Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.001586/0.001586, allocations: 110.1 kB / 16.4 MB, free: 6.445 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.002318/0.002318, allocations: 191.7 kB / 19.36 MB, free: 3.727 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.458/1.458, allocations: 222.9 MB / 245 MB, free: 4.332 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.058/3.058, allocations: 489 MB / 0.7678 GB, free: 4.074 MB / 0.6075 GB " [Timeout remaining time 176] 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.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.89 kB / 1.101 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9068/0.9088, allocations: 163.8 MB / 1.261 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002323/0.9111, allocations: 1.224 MB / 1.262 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008869/0.912, allocations: 443.2 kB / 1.263 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.56e-05/0.9121, allocations: 0.8125 kB / 1.263 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.9121, allocations: 3.281 kB / 1.263 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.534e-05/0.9122, allocations: 4.688 kB / 1.263 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005252/0.9127, allocations: 117.3 kB / 1.263 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.74e-05/0.9128, allocations: 22.27 kB / 1.263 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.9128, allocations: 3.469 kB / 1.263 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.446e-05/0.9129, allocations: 14.42 kB / 1.263 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.054e-05/0.9129, allocations: 14.3 kB / 1.263 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.9129, allocations: 4.875 kB / 1.263 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.9131, allocations: 106 kB / 1.263 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.9132, allocations: 6.953 kB / 1.263 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.9132, allocations: 9.406 kB / 1.263 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.9134, allocations: 101.2 kB / 1.263 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.9134, allocations: 1.375 kB / 1.263 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9134, allocations: 0 / 1.263 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.9134, allocations: 0.8438 kB / 1.263 GB, free: 6.598 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003954/0.9138, allocations: 386.5 kB / 1.263 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.9139, allocations: 13.69 kB / 1.263 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.832e-05/0.9139, allocations: 41.72 kB / 1.263 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.914, allocations: 2.656 kB / 1.263 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.299e-05/0.9141, allocations: 171.6 kB / 1.264 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.9141, allocations: 2.062 kB / 1.264 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.9141, allocations: 2.969 kB / 1.264 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.9142, allocations: 47.69 kB / 1.264 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.9143, allocations: 3.938 kB / 1.264 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.9143, allocations: 1.562 kB / 1.264 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.9143, allocations: 0.875 kB / 1.264 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.263e-05/0.9143, allocations: 14.77 kB / 1.264 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002876/0.9146, allocations: 249.9 kB / 1.264 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.35e-05/0.9147, allocations: 32.92 kB / 1.264 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.567e-05/0.9148, allocations: 20.5 kB / 1.264 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.9148, allocations: 4.938 kB / 1.264 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.9149, allocations: 64.92 kB / 1.264 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.9149, allocations: 0 / 1.264 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0002349/0.9152, allocations: 77.06 kB / 1.264 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.9152, allocations: 57.72 kB / 1.264 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.464e-05/0.9153, allocations: 103.5 kB / 1.264 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.9153, allocations: 26.45 kB / 1.264 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.83e-05/0.9153, allocations: 89.45 kB / 1.264 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.9154, allocations: 27.72 kB / 1.264 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.9154, allocations: 22.81 kB / 1.264 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.578e-05/0.9155, allocations: 313.2 kB / 1.265 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.097e-05/0.9155, allocations: 11.95 kB / 1.265 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.103e-05/0.9155, allocations: 39.75 kB / 1.265 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.765e-05/0.9156, allocations: 59.39 kB / 1.265 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.9156, allocations: 4.719 kB / 1.265 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001189/0.9157, allocations: 84.89 kB / 1.265 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.9158, allocations: 5.625 kB / 1.265 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.9158, allocations: 2.703 kB / 1.265 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.9158, allocations: 1.656 kB / 1.265 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.047e-05/0.9159, allocations: 14.81 kB / 1.265 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.9159, allocations: 6.297 kB / 1.265 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.86e-05/0.9159, allocations: 9.672 kB / 1.265 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.9159, allocations: 3.406 kB / 1.265 GB, free: 4.641 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.442e-05/0.916, allocations: 118.3 kB / 1.265 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.916, allocations: 6.438 kB / 1.265 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.9161, allocations: 9.375 kB / 1.265 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.9161, allocations: 0.9375 kB / 1.265 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.9161, allocations: 0 / 1.265 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.9161, allocations: 5.406 kB / 1.265 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.9163, allocations: 309.7 kB / 1.265 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.9163, allocations: 0.875 kB / 1.265 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.491e-05/0.9164, allocations: 8.344 kB / 1.265 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.9164, allocations: 0.7812 kB / 1.265 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.9164, allocations: 1.562 kB / 1.265 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.9164, allocations: 1.656 kB / 1.265 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.9164, allocations: 0 / 1.265 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.9165, allocations: 173.9 kB / 1.266 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.178e-05/0.9166, allocations: 79.34 kB / 1.266 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.9166, allocations: 1.422 kB / 1.266 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.037e-05/0.9167, allocations: 1.484 kB / 1.266 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.9167, allocations: 3.016 kB / 1.266 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.9167, allocations: 10.11 kB / 1.266 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.38e-05/0.9167, allocations: 84.62 kB / 1.266 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9167, allocations: 0.8125 kB / 1.266 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003076/0.917, allocations: 39.86 kB / 1.266 GB, free: 3.836 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: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000607/0.9177, allocations: 0.7785 MB / 1.267 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001347/0.9178, allocations: 47.64 kB / 1.267 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.9178, allocations: 0.5938 kB / 1.267 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.727e-05/0.9179, allocations: 20.95 kB / 1.267 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.9181, allocations: 4.984 kB / 1.267 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.9191, allocations: 1.32 MB / 1.268 GB, free: 17.82 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.9194, allocations: 0.6797 MB / 1.269 GB, free: 17.13 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.172e-05/0.9195, allocations: 8.391 kB / 1.269 GB, free: 17.12 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.9195, allocations: 14.59 kB / 1.269 GB, free: 17.11 MB / 1.014 GB Notification: Performance of SimCode: time 3.61e-07/0.9195, allocations: 1.125 kB / 1.269 GB, free: 17.11 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.9439, allocations: 2.101 MB / 1.271 GB, free: 16.64 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/8.972, allocations: 8.75 kB / 1.271 GB, free: 16.64 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:A,B,C,seed,time,x1,x2,y [Calling sys.exit(0), Time elapsed: 15.168794501805678]