Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.Logit1D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007636/0.007636, allocations: 97.88 kB / 15.73 MB, free: 6.004 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.001884/0.001885, allocations: 192.6 kB / 16.67 MB, free: 5.934 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.663/2.663, allocations: 469.4 MB / 0.7422 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 59.89 kB / 1.064 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3115, allocations: 159.1 MB / 1.22 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002175/0.3137, allocations: 1.215 MB / 1.221 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008417/0.3146, allocations: 436.2 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.3147, allocations: 3.938 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.3147, allocations: 0 / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.698e-05/0.3147, allocations: 0 / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005547/0.3153, allocations: 111.6 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.579e-05/0.3154, allocations: 19.98 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.3154, allocations: 0 / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.162e-05/0.3154, allocations: 7.938 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.671e-05/0.3155, allocations: 11.98 kB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.3155, allocations: 0 / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.3157, allocations: 103.8 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.3157, allocations: 7.938 kB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.3158, allocations: 7.984 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.316, allocations: 91.75 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.316, allocations: 0 / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.316, allocations: 0 / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.316, allocations: 4 kB / 1.222 GB, free: 12.71 MB / 0.9825 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.0004704/0.3165, allocations: 384.8 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3165, allocations: 12.03 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.436e-05/0.3166, allocations: 38.7 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.3166, allocations: 0.9375 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.3167, allocations: 176.3 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.3167, allocations: 384 / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.3167, allocations: 4.375 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.3169, allocations: 42.25 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.3169, allocations: 3.938 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.3169, allocations: 3.984 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3169, allocations: 4 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.414e-05/0.3169, allocations: 7.984 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.3173, allocations: 241 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.255e-05/0.3174, allocations: 38.45 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.989e-05/0.3174, allocations: 20.94 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.405e-06/0.3174, allocations: 0 / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.3176, allocations: 63.39 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.3176, allocations: 0 / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002472/0.3179, allocations: 77.58 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.3179, allocations: 55.41 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.54e-05/0.318, allocations: 105.8 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.3181, allocations: 33.7 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/0.3181, allocations: 80.14 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.3181, allocations: 11.84 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.3182, allocations: 29.7 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.394e-05/0.3183, allocations: 310.8 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.616e-05/0.3183, allocations: 11.98 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.267e-05/0.3183, allocations: 39.42 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.23e-05/0.3184, allocations: 51.36 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.3184, allocations: 3.938 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001106/0.3185, allocations: 73.56 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3186, allocations: 7.938 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3186, allocations: 4.062 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.3186, allocations: 4 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.444e-05/0.3187, allocations: 7.984 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.3187, allocations: 4 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.735e-05/0.3187, allocations: 3.953 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.3187, allocations: 4 kB / 1.224 GB, free: 10.52 MB / 0.9825 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 (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 (8): * Single equations (assignments): 8 * 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 8.961e-05/0.3188, allocations: 119.2 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.3188, allocations: 0 / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.3189, allocations: 11.83 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3189, allocations: 4 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3189, allocations: 7.984 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.3189, allocations: 0 / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.3192, allocations: 294.5 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3192, allocations: 0 / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.895e-05/0.3192, allocations: 7.984 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3192, allocations: 0 / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.3192, allocations: 4 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3192, allocations: 0 / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3192, allocations: 0 / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.3194, allocations: 171.7 kB / 1.224 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-05/0.3195, allocations: 85.09 kB / 1.224 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.3195, allocations: 4 kB / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.4e-05/0.3196, allocations: 4 kB / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.273e-05/0.3196, allocations: 0 / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.3196, allocations: 0 / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.238e-05/0.3196, allocations: 87.27 kB / 1.224 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3196, allocations: 3.938 kB / 1.224 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002951/0.3199, allocations: 35.88 kB / 1.224 GB, free: 9.602 MB / 0.9825 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 (5): * Single equations (assignments): 3 * 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.0007508/0.3207, allocations: 0.7704 MB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.3208, allocations: 31.98 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3208, allocations: 0 / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.287e-05/0.3209, allocations: 19.92 kB / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.3211, allocations: 8 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.3222, allocations: 1.273 MB / 1.226 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.3225, allocations: 0.6768 MB / 1.227 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.509e-05/0.3225, allocations: 8.234 kB / 1.227 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.3225, allocations: 7.438 kB / 1.227 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.3226, allocations: 0 / 1.227 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/0.3407, allocations: 2.027 MB / 1.229 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.601/7.942, allocations: 11.88 kB / 1.229 GB, free: 4.727 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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:time,y