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: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001672/0.001672, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 223.3 MB / 240 MB, free: 5.418 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.708/2.708, allocations: 390.9 MB / 0.666 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005888/0.0005889, allocations: 8 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8038/0.8044, allocations: 142.4 MB / 0.9544 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.004131/0.8086, allocations: 3.376 MB / 0.9577 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002455/0.8111, allocations: 1.659 MB / 0.9593 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.8113, allocations: 5.406 kB / 0.9594 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002198/0.8116, allocations: 63.17 kB / 0.9594 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004717/0.8121, allocations: 184 kB / 0.9596 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005593/0.8126, allocations: 199.4 kB / 0.9598 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005411/0.8132, allocations: 0.566 MB / 0.9603 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004497/0.8136, allocations: 343.8 kB / 0.9607 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.8139, allocations: 156.5 kB / 0.9608 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004384/0.8143, allocations: 220.6 kB / 0.961 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.953e-05/0.8144, allocations: 16.22 kB / 0.961 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.8147, allocations: 89.66 kB / 0.9611 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.8148, allocations: 105.1 kB / 0.9612 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.469e-05/0.8149, allocations: 84.2 kB / 0.9613 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004361/0.8154, allocations: 379.1 kB / 0.9617 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.8154, allocations: 0 / 0.9617 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8154, allocations: 1.281 kB / 0.9617 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.8154, allocations: 0 / 0.9617 GB, free: 2.461 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.0011/0.8165, allocations: 0.6024 MB / 0.9623 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.8166, allocations: 9.125 kB / 0.9623 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005668/0.8171, allocations: 86.88 kB / 0.9623 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.8176, allocations: 283.1 kB / 0.9626 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.8176, allocations: 21.28 kB / 0.9626 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.297e-05/0.8177, allocations: 29.92 kB / 0.9627 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008996/0.8186, allocations: 493.9 kB / 0.9631 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.8186, allocations: 3.938 kB / 0.9631 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.8186, allocations: 15.64 kB / 0.9632 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.796e-05/0.8187, allocations: 51.92 kB / 0.9632 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007071/0.8194, allocations: 385 kB / 0.9636 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.8214, allocations: 2.042 MB / 0.9656 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006786/0.8221, allocations: 222.1 kB / 0.9658 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004364/0.8226, allocations: 175.2 kB / 0.9659 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.8226, allocations: 2.562 kB / 0.9659 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.8227, allocations: 36.56 kB / 0.966 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 2.124e-06/0.8227, allocations: 0 / 0.966 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.001205/0.8239, allocations: 461.8 kB / 0.9664 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.8239, allocations: 54.03 kB / 0.9665 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.8243, allocations: 256.7 kB / 0.9667 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.707e-05/0.8243, allocations: 31.02 kB / 0.9667 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.8245, allocations: 214.2 kB / 0.9669 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.8245, allocations: 64.09 kB / 0.967 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.495e-05/0.8246, allocations: 4.969 kB / 0.967 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.8247, allocations: 340.9 kB / 0.9673 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.825, allocations: 98.12 kB / 0.9674 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.8253, allocations: 217 kB / 0.9676 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.8256, allocations: 133.6 kB / 0.9678 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.8256, allocations: 2 kB / 0.9678 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008039/0.8264, allocations: 371.2 kB / 0.9681 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/0.8266, allocations: 201 kB / 0.9683 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.8266, allocations: 2.875 kB / 0.9683 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002136/0.8268, allocations: 35.38 kB / 0.9684 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.8271, allocations: 70.45 kB / 0.9684 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.8284, allocations: 1.324 MB / 0.9697 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.8287, allocations: 61.25 kB / 0.9698 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.8287, allocations: 10.34 kB / 0.9698 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/0.8287, allocations: 3.406 kB / 0.9698 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006825/0.8294, allocations: 304.3 kB / 0.9701 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.8294, allocations: 3.656 kB / 0.9701 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.8295, allocations: 6.094 kB / 0.9701 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.8297, allocations: 76.47 kB / 0.9702 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.8298, allocations: 9.188 kB / 0.9702 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.83, allocations: 47.2 kB / 0.9702 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.83, allocations: 14.31 kB / 0.9702 GB, free: 11.38 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002424/0.8302, allocations: 243.2 kB / 0.9705 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.8303, allocations: 24.06 kB / 0.9705 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.163e-05/0.8304, allocations: 37.25 kB / 0.9705 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.8304, allocations: 6.141 kB / 0.9705 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.8304, allocations: 0 / 0.9705 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.8304, allocations: 5.109 kB / 0.9705 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.8316, allocations: 0.7734 MB / 0.9713 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.8316, allocations: 5.344 kB / 0.9713 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.8318, allocations: 41.16 kB / 0.9713 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/0.8319, allocations: 34.58 kB / 0.9714 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.832, allocations: 1.031 kB / 0.9714 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.833, allocations: 1.314 MB / 0.9726 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.833, allocations: 1.125 kB / 0.9726 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006698/0.8337, allocations: 391.3 kB / 0.973 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.8338, allocations: 122 kB / 0.9731 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.302e-05/0.8339, allocations: 10.19 kB / 0.9731 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.8341, allocations: 16.67 kB / 0.9732 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.975e-05/0.8341, allocations: 19.41 kB / 0.9732 GB, free: 8.676 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.8342, allocations: 3.719 kB / 0.9732 GB, free: 8.676 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001932/0.8344, allocations: 182.1 kB / 0.9734 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8344, allocations: 5.094 kB / 0.9734 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006804/0.8351, allocations: 144.2 kB / 0.9735 GB, free: 8.512 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001745/0.8352, allocations: 108.4 kB / 0.9736 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001278/0.8365, allocations: 0.5114 MB / 0.9741 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.8365, allocations: 0 / 0.9741 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.8369, allocations: 227.6 kB / 0.9743 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005677/0.8375, allocations: 68.34 kB / 0.9744 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.8387, allocations: 0.6739 MB / 0.975 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004938/0.8392, allocations: 0.7976 MB / 0.9758 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002676/0.8395, allocations: 74.42 kB / 0.9759 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.903e-05/0.8396, allocations: 20.97 kB / 0.9759 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.8396, allocations: 0 / 0.9759 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of Templates: time 0.008471/0.848, allocations: 3.107 MB / 0.9789 GB, free: 5.109 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (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 & ./Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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