Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.002089/0.002089, allocations: 106.5 kB / 16.45 MB, free: 6.035 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.002201/0.002201, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.427/1.427, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.633/2.633, allocations: 443.5 MB / 0.7287 GB, free: 13.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 67.88 kB / 1.056 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8028/0.8048, allocations: 160.7 MB / 1.213 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002921/0.8077, allocations: 1.561 MB / 1.214 GB, free: 2.613 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.8092, allocations: 0.7761 MB / 1.215 GB, free: 2.012 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.336e-05/0.8092, allocations: 0 / 1.215 GB, free: 2.012 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.252e-05/0.8092, allocations: 3.938 kB / 1.215 GB, free: 2.008 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.18e-05/0.8093, allocations: 22.98 kB / 1.215 GB, free: 1.988 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005106/0.8098, allocations: 135.9 kB / 1.215 GB, free: 1.891 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.81, allocations: 95.52 kB / 1.215 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.13e-05/0.8101, allocations: 13.09 kB / 1.215 GB, free: 1.828 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.8102, allocations: 52.52 kB / 1.215 GB, free: 1.793 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.78e-05/0.8103, allocations: 46.67 kB / 1.216 GB, free: 1.762 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.8103, allocations: 7.219 kB / 1.216 GB, free: 1.762 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.8105, allocations: 105.5 kB / 1.216 GB, free: 1.707 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.077e-05/0.8105, allocations: 31.27 kB / 1.216 GB, free: 1.68 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.218e-05/0.8106, allocations: 38.73 kB / 1.216 GB, free: 1.652 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.8109, allocations: 166.2 kB / 1.216 GB, free: 1.543 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.8109, allocations: 1.156 kB / 1.216 GB, free: 1.543 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.153e-06/0.8109, allocations: 0 / 1.216 GB, free: 1.543 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.8109, allocations: 0 / 1.216 GB, free: 1.543 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008925/0.8118, allocations: 0.507 MB / 1.216 GB, free: 1.016 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.8118, allocations: 11.27 kB / 1.216 GB, free: 1.016 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.984e-05/0.8119, allocations: 43.73 kB / 1.216 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.8119, allocations: 14.16 kB / 1.216 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.8121, allocations: 174.3 kB / 1.217 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.8121, allocations: 4.281 kB / 1.217 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.8121, allocations: 11.34 kB / 1.217 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.8123, allocations: 87.78 kB / 1.217 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.8123, allocations: 1.281 kB / 1.217 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.8123, allocations: 0 / 1.217 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.8124, allocations: 4.969 kB / 1.217 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.8125, allocations: 46.25 kB / 1.217 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000611/0.8131, allocations: 337.3 kB / 1.217 GB, free: 316 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.8133, allocations: 78.11 kB / 1.217 GB, free: 260 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.403e-05/0.8134, allocations: 40.55 kB / 1.217 GB, free: 232 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.8135, allocations: 1 kB / 1.217 GB, free: 232 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002802/0.8137, allocations: 90.17 kB / 1.217 GB, free: 156 kB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.8137, allocations: 4 kB / 1.217 GB, free: 152 kB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0004712/0.8142, allocations: 183.5 kB / 1.217 GB, free: 44 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/0.8143, allocations: 57.67 kB / 1.217 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.8144, allocations: 137.2 kB / 1.218 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.8144, allocations: 32.17 kB / 1.218 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.651e-05/0.8145, allocations: 95.47 kB / 1.218 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.8145, allocations: 27.03 kB / 1.218 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.879e-05/0.8146, allocations: 35.92 kB / 1.218 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.8148, allocations: 330.1 kB / 1.218 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.033e-05/0.8148, allocations: 28.48 kB / 1.218 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.8149, allocations: 67.58 kB / 1.218 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.8151, allocations: 111.6 kB / 1.218 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8151, allocations: 3.938 kB / 1.218 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000272/0.8154, allocations: 136 kB / 1.218 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.8154, allocations: 4.875 kB / 1.218 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.8154, allocations: 6.094 kB / 1.218 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.8154, allocations: 6.438 kB / 1.218 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.8156, allocations: 15.42 kB / 1.218 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.8156, allocations: 2.312 kB / 1.218 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.8157, allocations: 27.22 kB / 1.218 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.8157, allocations: 4.344 kB / 1.219 GB, free: 15.07 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001093/0.8158, allocations: 132.4 kB / 1.219 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.8158, allocations: 13.05 kB / 1.219 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003661/0.8162, allocations: 166.7 kB / 1.219 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.8162, allocations: 3.062 kB / 1.219 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.8162, allocations: 0 / 1.219 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.8162, allocations: 0 / 1.219 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006662/0.8169, allocations: 469.3 kB / 1.219 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.8169, allocations: 3.938 kB / 1.219 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.571e-05/0.817, allocations: 18.7 kB / 1.219 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.817, allocations: 1.656 kB / 1.219 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.817, allocations: 5.781 kB / 1.219 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.817, allocations: 3.938 kB / 1.219 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.817, allocations: 0 / 1.219 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.8173, allocations: 254.2 kB / 1.22 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.425e-05/0.8174, allocations: 88.55 kB / 1.22 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.8174, allocations: 1.188 kB / 1.22 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.8175, allocations: 17.77 kB / 1.22 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.8176, allocations: 12.84 kB / 1.22 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.8176, allocations: 8.797 kB / 1.22 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.304e-05/0.8177, allocations: 109.6 kB / 1.22 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8177, allocations: 0 / 1.22 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003446/0.818, allocations: 48.95 kB / 1.22 GB, free: 13.97 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001036/0.8191, allocations: 0.8429 MB / 1.221 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002895/0.8194, allocations: 97.31 kB / 1.221 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.8194, allocations: 0 / 1.221 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.8195, allocations: 50.98 kB / 1.221 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.8198, allocations: 25.64 kB / 1.221 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.8219, allocations: 1.687 MB / 1.222 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.8223, allocations: 0.697 MB / 1.223 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.701e-05/0.8223, allocations: 15.2 kB / 1.223 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.494e-05/0.8224, allocations: 33.8 kB / 1.223 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/0.8224, allocations: 0 / 1.223 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02659/0.849, allocations: 3.492 MB / 1.227 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.369/9.218, allocations: 13.55 kB / 1.227 GB, free: 9.074 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.fmu > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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: 15.063697467092425]