Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_9_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.0008192/0.0008193, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005466/0.005466, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.32/1.32, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.183/2.183, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002848/0.0002848, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5725/0.5728, allocations: 142.4 MB / 0.9552 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.003279/0.5761, allocations: 3.519 MB / 0.9586 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001973/0.5781, allocations: 1.741 MB / 0.9603 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.5782, allocations: 9.344 kB / 0.9603 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.5784, allocations: 55.25 kB / 0.9604 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000409/0.5788, allocations: 240.9 kB / 0.9606 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.5793, allocations: 222.7 kB / 0.9608 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005614/0.5798, allocations: 0.7022 MB / 0.9615 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003948/0.5803, allocations: 372.2 kB / 0.9618 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.5804, allocations: 150.6 kB / 0.962 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003168/0.5808, allocations: 228.6 kB / 0.9622 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.749e-05/0.5808, allocations: 16 kB / 0.9622 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002982/0.5811, allocations: 226.4 kB / 0.9624 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.996e-05/0.5812, allocations: 119.4 kB / 0.9625 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.5814, allocations: 188.2 kB / 0.9627 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004367/0.5818, allocations: 482.2 kB / 0.9632 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5818, allocations: 4 kB / 0.9632 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5818, allocations: 0 / 0.9632 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.5818, allocations: 1.406 kB / 0.9632 GB, free: 1.711 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0008492/0.5827, allocations: 0.603 MB / 0.9638 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.5827, allocations: 9.5 kB / 0.9638 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.517e-05/0.5828, allocations: 74.72 kB / 0.9639 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005062/0.5833, allocations: 82.97 kB / 0.9639 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.5836, allocations: 289.7 kB / 0.9642 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.5836, allocations: 28.86 kB / 0.9642 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.594e-05/0.5837, allocations: 27.22 kB / 0.9643 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006769/0.5844, allocations: 499.1 kB / 0.9647 GB, free: 468 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.5844, allocations: 3.281 kB / 0.9647 GB, free: 468 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.5844, allocations: 12.64 kB / 0.9648 GB, free: 456 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.652e-05/0.5845, allocations: 46.81 kB / 0.9648 GB, free: 440 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006789/0.5852, allocations: 384.3 kB / 0.9652 GB, free: 260 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.5872, allocations: 2.054 MB / 0.9672 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005476/0.5877, allocations: 224 kB / 0.9674 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003914/0.5881, allocations: 171.4 kB / 0.9676 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.5882, allocations: 2.062 kB / 0.9676 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.5882, allocations: 36.28 kB / 0.9676 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.5882, allocations: 0 / 0.9676 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.001098/0.5893, allocations: 456.2 kB / 0.968 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.5894, allocations: 53.41 kB / 0.9681 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.5896, allocations: 262.3 kB / 0.9683 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.5897, allocations: 31.08 kB / 0.9684 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.5898, allocations: 218.9 kB / 0.9686 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/0.5898, allocations: 58.98 kB / 0.9686 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.5899, allocations: 29.83 kB / 0.9686 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.59, allocations: 336.8 kB / 0.969 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/0.5903, allocations: 106.4 kB / 0.9691 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.5906, allocations: 211.3 kB / 0.9693 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005846/0.5912, allocations: 336.9 kB / 0.9696 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5912, allocations: 4.938 kB / 0.9696 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007735/0.592, allocations: 376.6 kB / 0.97 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.5921, allocations: 197.6 kB / 0.9701 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.5921, allocations: 3.75 kB / 0.9702 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001797/0.5923, allocations: 35.42 kB / 0.9702 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.5926, allocations: 78.27 kB / 0.9703 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.5937, allocations: 1.333 MB / 0.9716 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.5939, allocations: 44.42 kB / 0.9716 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.594, allocations: 13.97 kB / 0.9716 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.001e-06/0.594, allocations: 7.906 kB / 0.9716 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006018/0.5946, allocations: 300.8 kB / 0.9719 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.5946, allocations: 3.656 kB / 0.9719 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.293e-06/0.5946, allocations: 9.281 kB / 0.9719 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.5949, allocations: 82.05 kB / 0.972 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.5949, allocations: 12.83 kB / 0.972 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.5951, allocations: 39.42 kB / 0.9721 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.5951, allocations: 13.97 kB / 0.9721 GB, free: 10.34 MB / 0.7325 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.0001742/0.5953, allocations: 239.1 kB / 0.9723 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.811e-05/0.5954, allocations: 28.34 kB / 0.9723 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.608e-05/0.5954, allocations: 36.58 kB / 0.9724 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.5954, allocations: 6.297 kB / 0.9724 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.5954, allocations: 0 / 0.9724 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5955, allocations: 1.281 kB / 0.9724 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.5966, allocations: 0.7788 MB / 0.9731 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.5966, allocations: 1.062 kB / 0.9731 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.5968, allocations: 45.5 kB / 0.9732 GB, free: 9.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.183e-05/0.5969, allocations: 21.69 kB / 0.9732 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.5969, allocations: 5.969 kB / 0.9732 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008934/0.5978, allocations: 1.318 MB / 0.9745 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5978, allocations: 3.938 kB / 0.9745 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006277/0.5985, allocations: 392.2 kB / 0.9749 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-05/0.5986, allocations: 122.1 kB / 0.975 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.5986, allocations: 6.844 kB / 0.975 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.5988, allocations: 24.83 kB / 0.975 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.5989, allocations: 14.48 kB / 0.975 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.5989, allocations: 7.969 kB / 0.975 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001642/0.599, allocations: 189.1 kB / 0.9752 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.5991, allocations: 0 / 0.9752 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005573/0.5996, allocations: 144.5 kB / 0.9753 GB, free: 7.461 MB / 0.7325 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.000866/0.6005, allocations: 0.9279 MB / 0.9763 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.6015, allocations: 0.506 MB / 0.9767 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6015, allocations: 0 / 0.9767 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003503/0.6019, allocations: 231.4 kB / 0.977 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004921/0.6024, allocations: 70.58 kB / 0.977 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/0.606, allocations: 3.078 MB / 0.98 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.6064, allocations: 0.8056 MB / 0.9808 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002222/0.6066, allocations: 71.09 kB / 0.9809 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.6068, allocations: 89.12 kB / 0.981 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of SimCode: time 4.3e-07/0.6068, allocations: 0 / 0.981 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07457/0.6813, allocations: 5.721 MB / 0.9866 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/0.6816, allocations: 241.2 kB / 0.9868 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.941/2.622, allocations: 0 / 0.9868 GB, free: 13.77 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_DC_Loads_Examples_VariableLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_DC_Loads_Examples_VariableLoad.fmu > Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Loads_Examples_VariableLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches