Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008331/0.0008331, allocations: 94.28 kB / 15.37 MB, free: 0.7266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009056/0.0009058, allocations: 179 kB / 16.27 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.436/2.436, allocations: 390.9 MB / 0.6663 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.0003969, allocations: 8 kB / 0.816 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7237/0.7241, allocations: 142.4 MB / 0.955 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001403/0.7255, allocations: 0.9496 MB / 0.956 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009965/0.7266, allocations: 436.6 kB / 0.9564 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.844e-05/0.7266, allocations: 4 kB / 0.9564 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.7266, allocations: 0 / 0.9564 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.703e-05/0.7267, allocations: 1.281 kB / 0.9564 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005624/0.7273, allocations: 86.75 kB / 0.9565 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.589e-05/0.7273, allocations: 20.95 kB / 0.9565 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.688e-05/0.7274, allocations: 1.219 kB / 0.9565 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.302e-05/0.7274, allocations: 8.406 kB / 0.9565 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.942e-05/0.7275, allocations: 10.98 kB / 0.9565 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.7275, allocations: 1.062 kB / 0.9565 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002098/0.7277, allocations: 93.22 kB / 0.9566 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.7277, allocations: 13.81 kB / 0.9566 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.7278, allocations: 36.86 kB / 0.9566 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.728, allocations: 98.48 kB / 0.9567 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.728, allocations: 0 / 0.9567 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.728, allocations: 0 / 0.9567 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.728, allocations: 0 / 0.9567 GB, free: 6.371 MB / 0.7169 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.0004166/0.7284, allocations: 372.9 kB / 0.9571 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.7285, allocations: 8.781 kB / 0.9571 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.7285, allocations: 2.219 kB / 0.9571 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.882e-05/0.7286, allocations: 174.8 kB / 0.9573 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.7286, allocations: 1.438 kB / 0.9573 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.7286, allocations: 2.438 kB / 0.9573 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.7287, allocations: 38.72 kB / 0.9573 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.7288, allocations: 1.406 kB / 0.9573 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.7288, allocations: 3.938 kB / 0.9573 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.7288, allocations: 1.125 kB / 0.9573 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.053e-05/0.7288, allocations: 10.36 kB / 0.9573 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001226/0.729, allocations: 162.2 kB / 0.9575 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.395e-05/0.729, allocations: 30.45 kB / 0.9575 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.078e-05/0.7291, allocations: 13.44 kB / 0.9575 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.7291, allocations: 1.125 kB / 0.9575 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/0.7292, allocations: 55.59 kB / 0.9576 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.7292, allocations: 0 / 0.9576 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002065/0.7295, allocations: 73.83 kB / 0.9576 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.7295, allocations: 52.41 kB / 0.9577 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.874e-05/0.7296, allocations: 103.9 kB / 0.9578 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.7296, allocations: 30.73 kB / 0.9578 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.196e-05/0.7296, allocations: 85.67 kB / 0.9579 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.7296, allocations: 4.719 kB / 0.9579 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.7297, allocations: 20.08 kB / 0.9579 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.235e-05/0.7297, allocations: 311.9 kB / 0.9582 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.7297, allocations: 12.56 kB / 0.9582 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.138e-05/0.7298, allocations: 39.14 kB / 0.9583 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.431e-05/0.7298, allocations: 39.78 kB / 0.9583 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7298, allocations: 0.9688 kB / 0.9583 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.932e-05/0.7299, allocations: 76.41 kB / 0.9584 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.73, allocations: 13.52 kB / 0.9584 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.73, allocations: 1.469 kB / 0.9584 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.73, allocations: 1.469 kB / 0.9584 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.7301, allocations: 6.094 kB / 0.9584 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.7301, allocations: 1.125 kB / 0.9584 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.625e-05/0.7301, allocations: 5.188 kB / 0.9584 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.7301, allocations: 3.062 kB / 0.9584 GB, free: 4.559 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.872e-05/0.7302, allocations: 120.4 kB / 0.9585 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.7302, allocations: 10.25 kB / 0.9585 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.294e-05/0.7302, allocations: 11.48 kB / 0.9585 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.7303, allocations: 1 kB / 0.9585 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7303, allocations: 0 / 0.9585 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.7303, allocations: 1.094 kB / 0.9586 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.854e-05/0.7304, allocations: 149.6 kB / 0.9587 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.7304, allocations: 0 / 0.9587 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.245e-05/0.7304, allocations: 1.875 kB / 0.9587 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.7304, allocations: 5.125 kB / 0.9587 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.7304, allocations: 9 kB / 0.9587 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.7304, allocations: 0 / 0.9587 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7304, allocations: 0 / 0.9587 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.7305, allocations: 86.33 kB / 0.9588 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.73e-05/0.7306, allocations: 78.39 kB / 0.9589 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.7306, allocations: 5.219 kB / 0.9589 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.171e-05/0.7306, allocations: 7.922 kB / 0.9589 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.7306, allocations: 1.562 kB / 0.9589 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.7306, allocations: 6.688 kB / 0.9589 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.208e-05/0.7307, allocations: 79.25 kB / 0.959 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7307, allocations: 0 / 0.959 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002649/0.7309, allocations: 33.86 kB / 0.959 GB, free: 3.93 MB / 0.7169 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,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0003498/0.7313, allocations: 177.1 kB / 0.9592 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.7314, allocations: 33.39 kB / 0.9592 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7314, allocations: 0 / 0.9592 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.486e-05/0.7315, allocations: 12.05 kB / 0.9592 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.7316, allocations: 9.172 kB / 0.9592 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002143/0.7318, allocations: 107.9 kB / 0.9593 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.419e-05/0.7319, allocations: 0.6776 MB / 0.96 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.182e-05/0.732, allocations: 6.844 kB / 0.96 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.279e-05/0.732, allocations: 8.75 kB / 0.96 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of SimCode: time 4.5e-07/0.732, allocations: 1.188 kB / 0.96 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of Templates: time 0.003391/0.7354, allocations: 1.015 MB / 0.961 GB, free: 2.418 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y