Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Loads_Examples_VariableLoad",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.0009819/0.0009819, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007073/0.007073, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.281/1.281, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.43/2.43, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003475, allocations: 8 kB / 0.8729 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5846/0.585, allocations: 153.8 MB / 1.023 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.004059/0.5891, allocations: 3.521 MB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002501/0.5916, allocations: 1.745 MB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.5918, allocations: 7.938 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.5921, allocations: 55.56 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006036/0.5927, allocations: 239 kB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005918/0.5933, allocations: 223.6 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007061/0.594, allocations: 0.7129 MB / 1.029 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004309/0.5944, allocations: 357.5 kB / 1.03 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.5947, allocations: 151.4 kB / 1.03 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003748/0.5951, allocations: 231.1 kB / 1.03 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.276e-05/0.5951, allocations: 16 kB / 1.03 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003613/0.5955, allocations: 223.5 kB / 1.03 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.5956, allocations: 115.7 kB / 1.031 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.5958, allocations: 184.8 kB / 1.031 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004906/0.5963, allocations: 496.6 kB / 1.031 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.5963, allocations: 0 / 1.031 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5963, allocations: 3.938 kB / 1.031 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.761e-05/0.5963, allocations: 0 / 1.031 GB, free: 7.695 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0009528/0.5973, allocations: 0.5927 MB / 1.032 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.5973, allocations: 8.031 kB / 1.032 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.544e-05/0.5974, allocations: 74.7 kB / 1.032 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005372/0.598, allocations: 88.41 kB / 1.032 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.5983, allocations: 291.5 kB / 1.032 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.5983, allocations: 21.03 kB / 1.032 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.726e-05/0.5984, allocations: 40.11 kB / 1.032 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000762/0.5991, allocations: 497.8 kB / 1.033 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.5992, allocations: 4 kB / 1.033 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.5992, allocations: 12 kB / 1.033 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-05/0.5993, allocations: 36.62 kB / 1.033 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007429/0.6, allocations: 390.2 kB / 1.033 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.602, allocations: 2.048 MB / 1.035 GB, free: 3.297 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005792/0.6026, allocations: 226.7 kB / 1.035 GB, free: 3.066 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003891/0.603, allocations: 180.6 kB / 1.036 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.603, allocations: 0 / 1.036 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.603, allocations: 34.56 kB / 1.036 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/0.603, allocations: 0 / 1.036 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001075/0.6041, allocations: 453.4 kB / 1.036 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.6041, allocations: 59.34 kB / 1.036 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.6044, allocations: 266.6 kB / 1.036 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.6044, allocations: 25.7 kB / 1.036 GB, free: 2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.6045, allocations: 215.6 kB / 1.037 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.548e-05/0.6046, allocations: 63.09 kB / 1.037 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.6046, allocations: 29.7 kB / 1.037 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.805e-05/0.6048, allocations: 334.8 kB / 1.037 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.605, allocations: 104.5 kB / 1.037 GB, free: 1.246 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.6053, allocations: 215.6 kB / 1.037 GB, free: 0.9844 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005552/0.6059, allocations: 330.7 kB / 1.038 GB, free: 0.6133 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.6059, allocations: 4 kB / 1.038 GB, free: 0.6094 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007525/0.6067, allocations: 379.2 kB / 1.038 GB, free: 236 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.6068, allocations: 198 kB / 1.038 GB, free: 15.98 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.6068, allocations: 4 kB / 1.038 GB, free: 15.98 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001811/0.607, allocations: 32.83 kB / 1.038 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.6073, allocations: 75.89 kB / 1.038 GB, free: 15.87 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.6083, allocations: 1.343 MB / 1.04 GB, free: 14.4 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/0.6086, allocations: 51.67 kB / 1.04 GB, free: 14.35 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.6086, allocations: 8 kB / 1.04 GB, free: 14.34 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.6086, allocations: 5.719 kB / 1.04 GB, free: 14.34 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006134/0.6093, allocations: 307.8 kB / 1.04 GB, free: 14.04 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.6093, allocations: 3.984 kB / 1.04 GB, free: 14.03 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.322e-06/0.6093, allocations: 11.94 kB / 1.04 GB, free: 14.02 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.6096, allocations: 72.09 kB / 1.04 GB, free: 13.95 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.6096, allocations: 11.92 kB / 1.04 GB, free: 13.94 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.6098, allocations: 39.77 kB / 1.04 GB, free: 13.9 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.6098, allocations: 16 kB / 1.04 GB, free: 13.88 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001975/0.61, allocations: 241.6 kB / 1.04 GB, free: 13.64 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.6101, allocations: 35.56 kB / 1.04 GB, free: 13.6 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.274e-05/0.6102, allocations: 34.17 kB / 1.04 GB, free: 13.57 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.6102, allocations: 7.938 kB / 1.04 GB, free: 13.56 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.6102, allocations: 0 / 1.04 GB, free: 13.56 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.6102, allocations: 0 / 1.04 GB, free: 13.56 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.6114, allocations: 0.771 MB / 1.041 GB, free: 12.71 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.6114, allocations: 4.062 kB / 1.041 GB, free: 12.71 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.6116, allocations: 43.97 kB / 1.041 GB, free: 12.67 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.233e-05/0.6117, allocations: 24.84 kB / 1.041 GB, free: 12.64 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.6117, allocations: 0 / 1.041 GB, free: 12.64 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009001/0.6126, allocations: 1.327 MB / 1.042 GB, free: 11.18 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6126, allocations: 0 / 1.042 GB, free: 11.18 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006247/0.6132, allocations: 391.5 kB / 1.043 GB, free: 10.77 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.6134, allocations: 128.6 kB / 1.043 GB, free: 10.63 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.6134, allocations: 7.938 kB / 1.043 GB, free: 10.62 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.6136, allocations: 19.98 kB / 1.043 GB, free: 10.6 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.6137, allocations: 19.97 kB / 1.043 GB, free: 10.58 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.6137, allocations: 4 kB / 1.043 GB, free: 10.58 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001933/0.6139, allocations: 182 kB / 1.043 GB, free: 10.4 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6139, allocations: 0 / 1.043 GB, free: 10.4 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005666/0.6145, allocations: 143.5 kB / 1.043 GB, free: 10.26 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008837/0.6153, allocations: 0.9259 MB / 1.044 GB, free: 9.297 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.6164, allocations: 0.5122 MB / 1.045 GB, free: 8.773 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6164, allocations: 1 kB / 1.045 GB, free: 8.773 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003536/0.6168, allocations: 226.7 kB / 1.045 GB, free: 8.539 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005379/0.6173, allocations: 67.33 kB / 1.045 GB, free: 8.477 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/0.6211, allocations: 3.073 MB / 1.048 GB, free: 5.207 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.6215, allocations: 0.8035 MB / 1.049 GB, free: 4.379 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002441/0.6217, allocations: 66.23 kB / 1.049 GB, free: 4.309 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.6219, allocations: 87.41 kB / 1.049 GB, free: 4.223 MB / 0.795 GB Notification: Performance of SimCode: time 7.52e-07/0.6219, allocations: 0 / 1.049 GB, free: 4.223 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.499/2.121, allocations: 5.716 MB / 1.055 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002347/2.121, allocations: 240.4 kB / 1.055 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.081/4.202, allocations: 6.109 kB / 1.055 GB, free: 14.43 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_DC_Loads_Examples_VariableLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_DC_Loads_Examples_VariableLoad.fmu > Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Loads_Examples_VariableLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches