Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.00105/0.00105, 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.007145/0.007145, allocations: 169.9 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.33/1.33, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.303/2.303, allocations: 390.9 MB / 0.6664 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003718, allocations: 11.98 kB / 0.8161 GB, free: 13.06 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7197/0.7201, allocations: 142.4 MB / 0.9552 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003615/0.7237, allocations: 3.41 MB / 0.9585 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002315/0.7261, allocations: 1.772 MB / 0.9602 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.7263, allocations: 15.44 kB / 0.9603 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.7265, allocations: 61 kB / 0.9603 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005225/0.727, allocations: 275.2 kB / 0.9606 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.7274, allocations: 233.1 kB / 0.9608 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005885/0.728, allocations: 0.7322 MB / 0.9615 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005705/0.7286, allocations: 367 kB / 0.9619 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.7289, allocations: 208.3 kB / 0.9621 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.7292, allocations: 213.4 kB / 0.9623 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.667e-05/0.7292, allocations: 12.47 kB / 0.9623 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004486/0.7297, allocations: 341.6 kB / 0.9626 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.7298, allocations: 97.69 kB / 0.9627 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.73, allocations: 220.4 kB / 0.9629 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005442/0.7305, allocations: 0.5905 MB / 0.9635 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7305, allocations: 4 kB / 0.9635 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7305, allocations: 0 / 0.9635 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.7306, allocations: 0 / 0.9635 GB, free: 1.359 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0009107/0.7315, allocations: 0.6623 MB / 0.9641 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.7315, allocations: 13.88 kB / 0.9641 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.665e-05/0.7316, allocations: 71.22 kB / 0.9642 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008256/0.7324, allocations: 137.9 kB / 0.9643 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.7328, allocations: 378.1 kB / 0.9647 GB, free: 304 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.7329, allocations: 21.41 kB / 0.9647 GB, free: 296 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.583e-05/0.7329, allocations: 31.42 kB / 0.9648 GB, free: 284 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007328/0.7337, allocations: 0.5558 MB / 0.9653 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.7337, allocations: 11.92 kB / 0.9653 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/0.7337, allocations: 13.84 kB / 0.9653 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.217e-05/0.7338, allocations: 35.89 kB / 0.9654 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007197/0.7345, allocations: 419.4 kB / 0.9658 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0027/0.7372, allocations: 3.343 MB / 0.969 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006834/0.7379, allocations: 338.7 kB / 0.9693 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.7382, allocations: 186.5 kB / 0.9695 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.7383, allocations: 7.062 kB / 0.9695 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.7383, allocations: 35.66 kB / 0.9696 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 1.513e-06/0.7383, allocations: 0 / 0.9696 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=27): time 0.002117/0.7404, allocations: 1.088 MB / 0.9706 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.7405, allocations: 58.62 kB / 0.9707 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003432/0.7408, allocations: 343.2 kB / 0.971 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.7409, allocations: 30.83 kB / 0.971 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.741, allocations: 239.5 kB / 0.9713 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.64e-05/0.7411, allocations: 102.6 kB / 0.9714 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.7412, allocations: 40.97 kB / 0.9714 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.7413, allocations: 343.5 kB / 0.9717 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.7416, allocations: 157.5 kB / 0.9719 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/0.742, allocations: 288.2 kB / 0.9722 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006831/0.7427, allocations: 0.4896 MB / 0.9726 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7427, allocations: 1.125 kB / 0.9726 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009824/0.7437, allocations: 0.5741 MB / 0.9732 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.7437, allocations: 7.062 kB / 0.9732 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.7437, allocations: 4.75 kB / 0.9732 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003042/0.744, allocations: 86.44 kB / 0.9733 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.7444, allocations: 94.2 kB / 0.9734 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/0.7444, allocations: 14.86 kB / 0.9734 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.7447, allocations: 32.78 kB / 0.9734 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.7447, allocations: 14.28 kB / 0.9734 GB, free: 9.242 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001997/0.7449, allocations: 175.9 kB / 0.9736 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.878e-05/0.745, allocations: 39.41 kB / 0.9736 GB, free: 9.066 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008876/0.7459, allocations: 481 kB / 0.9741 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.7459, allocations: 10.17 kB / 0.9741 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.7459, allocations: 1.062 kB / 0.9741 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.7459, allocations: 1.094 kB / 0.9741 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.7474, allocations: 0.9646 MB / 0.9751 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.7474, allocations: 4.844 kB / 0.9751 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.7476, allocations: 54.27 kB / 0.9751 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002296/0.7479, allocations: 80.17 kB / 0.9752 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.7479, allocations: 10.44 kB / 0.9752 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.7479, allocations: 2.469 kB / 0.9752 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.7479, allocations: 1.125 kB / 0.9752 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008593/0.7488, allocations: 0.5586 MB / 0.9757 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.7489, allocations: 138.5 kB / 0.9759 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.174e-05/0.749, allocations: 14.92 kB / 0.9759 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.7492, allocations: 25.11 kB / 0.9759 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/0.7493, allocations: 26.64 kB / 0.9759 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.7493, allocations: 14.12 kB / 0.976 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000239/0.7496, allocations: 232.7 kB / 0.9762 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7496, allocations: 0 / 0.9762 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004281/0.75, allocations: 86.06 kB / 0.9763 GB, free: 7.254 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001215/0.7512, allocations: 1.104 MB / 0.9773 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.7523, allocations: 0.6417 MB / 0.978 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7523, allocations: 0 / 0.978 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005191/0.7528, allocations: 437.3 kB / 0.9784 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008035/0.7537, allocations: 124.7 kB / 0.9785 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004995/0.7587, allocations: 3.949 MB / 0.9824 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.7591, allocations: 0.8192 MB / 0.9832 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002678/0.7593, allocations: 83.34 kB / 0.9832 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.7595, allocations: 131.3 kB / 0.9834 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.7595, allocations: 0 / 0.9834 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0192/0.7787, allocations: 7.775 MB / 0.991 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.7789, allocations: 241.6 kB / 0.9912 GB, free: 9.281 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.539, allocations: 0 / 0.9912 GB, free: 9.281 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches